lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201901041428.39bKoNFs%fengguang.wu@intel.com>
Date:   Fri, 4 Jan 2019 14:03:13 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Luca Coelho <luciano.coelho@...el.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Kalle Valo <kvalo@...eaurora.org>
Subject: drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c:609: undefined
 reference to `ieee80211_channel_to_frequency'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   645ff1e8e704c4f33ab1fcd3c87f95cb9b6d7144
commit: aca432f06b8a60a92b27fb46e6518a19b28ca93f iwlwifi: make MVM and DVM depend on MAC80211
date:   2 weeks ago
config: x86_64-randconfig-x018-01041209 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout aca432f06b8a60a92b27fb46e6518a19b28ca93f
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.o: In function `iwl_init_channel_map':
>> drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c:609: undefined reference to `ieee80211_channel_to_frequency'
   drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.o: In function `iwl_init_channel_map':
>> drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:353: undefined reference to `ieee80211_channel_to_frequency'
   drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.o: In function `iwl_parse_nvm_mcc_info':
   drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:1050: undefined reference to `ieee80211_channel_to_frequency'
>> drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:1099: undefined reference to `reg_query_regdb_wmm'
   drivers/net/wireless/intel/iwlwifi/pcie/tx.o: In function `iwl_trans_pcie_tx':
>> drivers/net/wireless/intel/iwlwifi/pcie/tx.c:2317: undefined reference to `ieee80211_hdrlen'
   drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.o: In function `iwl_pcie_gen2_build_tfd':
>> drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c:550: undefined reference to `ieee80211_hdrlen'
   drivers/net/wireless/intel/iwlwifi/iwl-devtrace.o: In function `iwl_rx_trace_len':
>> drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:81: undefined reference to `ieee80211_hdrlen'

vim +609 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c

26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  563  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  564  #define CHECK_AND_PRINT_I(x)	\
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  565  	((eeprom_ch_info[ch_idx].flags & EEPROM_CHANNEL_##x) ? # x " " : "")
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  566  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  567  static int iwl_init_channel_map(struct device *dev, const struct iwl_cfg *cfg,
b7998c8b drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Eytan Lifshitz    2012-12-01  568  				struct iwl_nvm_data *data,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  569  				const u8 *eeprom, size_t eeprom_size)
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  570  {
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  571  	int band, ch_idx;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  572  	const struct iwl_eeprom_channel *eeprom_ch_info;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  573  	const u8 *eeprom_ch_array;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  574  	int eeprom_ch_count;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  575  	int n_channels = 0;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  576  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  577  	/*
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  578  	 * Loop through the 5 EEPROM bands and add them to the parse list
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  579  	 */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  580  	for (band = 1; band <= 5; band++) {
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  581  		struct ieee80211_channel *channel;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  582  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  583  		iwl_init_band_reference(cfg, eeprom, eeprom_size, band,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  584  					&eeprom_ch_count, &eeprom_ch_info,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  585  					&eeprom_ch_array);
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  586  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  587  		/* Loop through each band adding each of the channels */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  588  		for (ch_idx = 0; ch_idx < eeprom_ch_count; ch_idx++) {
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  589  			const struct iwl_eeprom_channel *eeprom_ch;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  590  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  591  			eeprom_ch = &eeprom_ch_info[ch_idx];
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  592  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  593  			if (!(eeprom_ch->flags & EEPROM_CHANNEL_VALID)) {
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  594  				IWL_DEBUG_EEPROM(dev,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  595  						 "Ch. %d Flags %x [%sGHz] - No traffic\n",
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  596  						 eeprom_ch_array[ch_idx],
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  597  						 eeprom_ch_info[ch_idx].flags,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  598  						 (band != 1) ? "5.2" : "2.4");
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  599  				continue;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  600  			}
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  601  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  602  			channel = &data->channels[n_channels];
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  603  			n_channels++;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  604  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  605  			channel->hw_value = eeprom_ch_array[ch_idx];
57fbcce3 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c Johannes Berg     2016-04-12  606  			channel->band = (band == 1) ? NL80211_BAND_2GHZ
57fbcce3 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c Johannes Berg     2016-04-12  607  						    : NL80211_BAND_5GHZ;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  608  			channel->center_freq =
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21 @609  				ieee80211_channel_to_frequency(
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  610  					channel->hw_value, channel->band);
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  611  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  612  			/* set no-HT40, will enable as appropriate later */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  613  			channel->flags = IEEE80211_CHAN_NO_HT40;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  614  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  615  			if (!(eeprom_ch->flags & EEPROM_CHANNEL_IBSS))
8fe02e16 drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Luis R. Rodriguez 2013-10-21  616  				channel->flags |= IEEE80211_CHAN_NO_IR;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  617  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  618  			if (!(eeprom_ch->flags & EEPROM_CHANNEL_ACTIVE))
8fe02e16 drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Luis R. Rodriguez 2013-10-21  619  				channel->flags |= IEEE80211_CHAN_NO_IR;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  620  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  621  			if (eeprom_ch->flags & EEPROM_CHANNEL_RADAR)
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  622  				channel->flags |= IEEE80211_CHAN_RADAR;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  623  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  624  			/* Initialize regulatory-based run-time data */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  625  			channel->max_power =
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  626  				eeprom_ch_info[ch_idx].max_power_avg;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  627  			IWL_DEBUG_EEPROM(dev,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  628  					 "Ch. %d [%sGHz] %s%s%s%s%s%s(0x%02x %ddBm): Ad-Hoc %ssupported\n",
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  629  					 channel->hw_value,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  630  					 (band != 1) ? "5.2" : "2.4",
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  631  					 CHECK_AND_PRINT_I(VALID),
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  632  					 CHECK_AND_PRINT_I(IBSS),
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  633  					 CHECK_AND_PRINT_I(ACTIVE),
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  634  					 CHECK_AND_PRINT_I(RADAR),
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  635  					 CHECK_AND_PRINT_I(WIDE),
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  636  					 CHECK_AND_PRINT_I(DFS),
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  637  					 eeprom_ch_info[ch_idx].flags,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  638  					 eeprom_ch_info[ch_idx].max_power_avg,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  639  					 ((eeprom_ch_info[ch_idx].flags &
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  640  							EEPROM_CHANNEL_IBSS) &&
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  641  					  !(eeprom_ch_info[ch_idx].flags &
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  642  							EEPROM_CHANNEL_RADAR))
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  643  						? "" : "not ");
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  644  		}
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  645  	}
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  646  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  647  	if (cfg->eeprom_params->enhanced_txpower) {
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  648  		/*
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  649  		 * for newer device (6000 series and up)
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  650  		 * EEPROM contain enhanced tx power information
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  651  		 * driver need to process addition information
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  652  		 * to determine the max channel tx power limits
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  653  		 */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  654  		iwl_eeprom_enhanced_txpower(dev, data, eeprom, eeprom_size,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  655  					    n_channels);
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  656  	} else {
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  657  		/* All others use data from channel map */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  658  		int i;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  659  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  660  		data->max_tx_pwr_half_dbm = -128;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  661  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  662  		for (i = 0; i < n_channels; i++)
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  663  			data->max_tx_pwr_half_dbm =
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  664  				max_t(s8, data->max_tx_pwr_half_dbm,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  665  				      data->channels[i].max_power * 2);
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  666  	}
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  667  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  668  	/* Check if we do have HT40 channels */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  669  	if (cfg->eeprom_params->regulatory_bands[5] ==
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  670  				EEPROM_REGULATORY_BAND_NO_HT40 &&
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  671  	    cfg->eeprom_params->regulatory_bands[6] ==
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  672  				EEPROM_REGULATORY_BAND_NO_HT40)
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  673  		return n_channels;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  674  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  675  	/* Two additional EEPROM bands for 2.4 and 5 GHz HT40 channels */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  676  	for (band = 6; band <= 7; band++) {
57fbcce3 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c Johannes Berg     2016-04-12  677  		enum nl80211_band ieeeband;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  678  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  679  		iwl_init_band_reference(cfg, eeprom, eeprom_size, band,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  680  					&eeprom_ch_count, &eeprom_ch_info,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  681  					&eeprom_ch_array);
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  682  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  683  		/* EEPROM band 6 is 2.4, band 7 is 5 GHz */
57fbcce3 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c Johannes Berg     2016-04-12  684  		ieeeband = (band == 6) ? NL80211_BAND_2GHZ
57fbcce3 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c Johannes Berg     2016-04-12  685  				       : NL80211_BAND_5GHZ;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  686  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  687  		/* Loop through each band adding each of the channels */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  688  		for (ch_idx = 0; ch_idx < eeprom_ch_count; ch_idx++) {
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  689  			/* Set up driver's info for lower half */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  690  			iwl_mod_ht40_chan_info(dev, data, n_channels, ieeeband,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  691  					       eeprom_ch_array[ch_idx],
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  692  					       &eeprom_ch_info[ch_idx],
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  693  					       IEEE80211_CHAN_NO_HT40PLUS);
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  694  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  695  			/* Set up driver's info for upper half */
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  696  			iwl_mod_ht40_chan_info(dev, data, n_channels, ieeeband,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  697  					       eeprom_ch_array[ch_idx] + 4,
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  698  					       &eeprom_ch_info[ch_idx],
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  699  					       IEEE80211_CHAN_NO_HT40MINUS);
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  700  		}
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  701  	}
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  702  
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  703  	return n_channels;
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  704  }
26a7ca9a drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c       Johannes Berg     2012-05-21  705  

:::::: The code at line 609 was first introduced by commit
:::::: 26a7ca9a71a3f7e1826de96b1a1e907123e11b07 iwlwifi: refactor EEPROM reading/parsing

:::::: TO: Johannes Berg <johannes.berg@...el.com>
:::::: CC: Johannes Berg <johannes.berg@...el.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (29543 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ