sband             648 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c 	u32 sband, reg = 0;
sband             656 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c 	sband = reg;
sband             661 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c 	sband |= (reg << 16);
sband             663 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c 	ret = xgene_cle_dram_wr(cle, &sband, 1, idx, PKT_RAM, CLE_CMD_WR);
sband             671 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c 	sband = reg;
sband             677 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c 	sband |= (reg << 16);
sband             679 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c 	ret = xgene_cle_dram_wr(cle, &sband, 1, idx + 1, PKT_RAM, CLE_CMD_WR);
sband             939 drivers/net/wireless/ath/ath10k/htt_rx.c 	struct ieee80211_supported_band *sband;
sband             963 drivers/net/wireless/ath/ath10k/htt_rx.c 		sband = &ar->mac.sbands[status->band];
sband             964 drivers/net/wireless/ath/ath10k/htt_rx.c 		status->rate_idx = ath10k_mac_hw_rate_to_idx(sband, rate, cck);
sband             115 drivers/net/wireless/ath/ath10k/mac.c u8 ath10k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
sband             121 drivers/net/wireless/ath/ath10k/mac.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband             122 drivers/net/wireless/ath/ath10k/mac.c 		rate = &sband->bitrates[i];
sband             137 drivers/net/wireless/ath/ath10k/mac.c u8 ath10k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
sband             142 drivers/net/wireless/ath/ath10k/mac.c 	for (i = 0; i < sband->n_bitrates; i++)
sband             143 drivers/net/wireless/ath/ath10k/mac.c 		if (sband->bitrates[i].bitrate == bitrate)
sband            2227 drivers/net/wireless/ath/ath10k/mac.c 	const struct ieee80211_supported_band *sband;
sband            2240 drivers/net/wireless/ath/ath10k/mac.c 	sband = ar->hw->wiphy->bands[band];
sband            2243 drivers/net/wireless/ath/ath10k/mac.c 	rates = sband->bitrates;
sband            5653 drivers/net/wireless/ath/ath10k/mac.c 	const struct ieee80211_supported_band *sband;
sband            5883 drivers/net/wireless/ath/ath10k/mac.c 		sband = ar->hw->wiphy->bands[def.chan->band];
sband            5885 drivers/net/wireless/ath/ath10k/mac.c 		bitrate = sband->bitrates[basic_rate_idx].bitrate;
sband            7162 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_supported_band *sband;
sband            7168 drivers/net/wireless/ath/ath10k/mac.c 	sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
sband            7169 drivers/net/wireless/ath/ath10k/mac.c 	if (sband && idx >= sband->n_channels) {
sband            7170 drivers/net/wireless/ath/ath10k/mac.c 		idx -= sband->n_channels;
sband            7171 drivers/net/wireless/ath/ath10k/mac.c 		sband = NULL;
sband            7174 drivers/net/wireless/ath/ath10k/mac.c 	if (!sband)
sband            7175 drivers/net/wireless/ath/ath10k/mac.c 		sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
sband            7177 drivers/net/wireless/ath/ath10k/mac.c 	if (!sband || idx >= sband->n_channels) {
sband            7182 drivers/net/wireless/ath/ath10k/mac.c 	ath10k_mac_update_bss_chan_survey(ar, &sband->channels[idx]);
sband            7188 drivers/net/wireless/ath/ath10k/mac.c 	survey->channel = &sband->channels[idx];
sband            7228 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_supported_band *sband = &ar->mac.sbands[band];
sband            7229 drivers/net/wireless/ath/ath10k/mac.c 	u16 vht_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map);
sband            7241 drivers/net/wireless/ath/ath10k/mac.c 			 sband->ht_cap.mcs.rx_mask[i])
sband              57 drivers/net/wireless/ath/ath10k/mac.h u8 ath10k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
sband              59 drivers/net/wireless/ath/ath10k/mac.h u8 ath10k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
sband            2449 drivers/net/wireless/ath/ath10k/wmi.c 	struct ieee80211_supported_band *sband;
sband            2511 drivers/net/wireless/ath/ath10k/wmi.c 	sband = &ar->mac.sbands[status->band];
sband            2515 drivers/net/wireless/ath/ath10k/wmi.c 	status->rate_idx = ath10k_mac_bitrate_to_idx(sband, rate / 100);
sband            2561 drivers/net/wireless/ath/ath10k/wmi.c 	struct ieee80211_supported_band *sband;
sband            2565 drivers/net/wireless/ath/ath10k/wmi.c 		sband = ar->hw->wiphy->bands[band];
sband            2566 drivers/net/wireless/ath/ath10k/wmi.c 		if (!sband)
sband            2569 drivers/net/wireless/ath/ath10k/wmi.c 		for (ch = 0; ch < sband->n_channels; ch++, idx++)
sband            2570 drivers/net/wireless/ath/ath10k/wmi.c 			if (sband->channels[ch].center_freq == freq)
sband             362 drivers/net/wireless/ath/ath5k/base.c 	struct ieee80211_supported_band *sband;
sband             370 drivers/net/wireless/ath/ath5k/base.c 	sband = &ah->sbands[NL80211_BAND_2GHZ];
sband             371 drivers/net/wireless/ath/ath5k/base.c 	sband->band = NL80211_BAND_2GHZ;
sband             372 drivers/net/wireless/ath/ath5k/base.c 	sband->bitrates = &ah->rates[NL80211_BAND_2GHZ][0];
sband             376 drivers/net/wireless/ath/ath5k/base.c 		memcpy(sband->bitrates, &ath5k_rates[0],
sband             378 drivers/net/wireless/ath/ath5k/base.c 		sband->n_bitrates = 12;
sband             380 drivers/net/wireless/ath/ath5k/base.c 		sband->channels = ah->channels;
sband             381 drivers/net/wireless/ath/ath5k/base.c 		sband->n_channels = ath5k_setup_channels(ah, sband->channels,
sband             384 drivers/net/wireless/ath/ath5k/base.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
sband             385 drivers/net/wireless/ath/ath5k/base.c 		count_c = sband->n_channels;
sband             389 drivers/net/wireless/ath/ath5k/base.c 		memcpy(sband->bitrates, &ath5k_rates[0],
sband             391 drivers/net/wireless/ath/ath5k/base.c 		sband->n_bitrates = 4;
sband             399 drivers/net/wireless/ath/ath5k/base.c 				sband->bitrates[i].hw_value =
sband             400 drivers/net/wireless/ath/ath5k/base.c 					sband->bitrates[i].hw_value & 0xF;
sband             401 drivers/net/wireless/ath/ath5k/base.c 				sband->bitrates[i].hw_value_short =
sband             402 drivers/net/wireless/ath/ath5k/base.c 					sband->bitrates[i].hw_value_short & 0xF;
sband             406 drivers/net/wireless/ath/ath5k/base.c 		sband->channels = ah->channels;
sband             407 drivers/net/wireless/ath/ath5k/base.c 		sband->n_channels = ath5k_setup_channels(ah, sband->channels,
sband             410 drivers/net/wireless/ath/ath5k/base.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
sband             411 drivers/net/wireless/ath/ath5k/base.c 		count_c = sband->n_channels;
sband             414 drivers/net/wireless/ath/ath5k/base.c 	ath5k_setup_rate_idx(ah, sband);
sband             418 drivers/net/wireless/ath/ath5k/base.c 		sband = &ah->sbands[NL80211_BAND_5GHZ];
sband             419 drivers/net/wireless/ath/ath5k/base.c 		sband->band = NL80211_BAND_5GHZ;
sband             420 drivers/net/wireless/ath/ath5k/base.c 		sband->bitrates = &ah->rates[NL80211_BAND_5GHZ][0];
sband             422 drivers/net/wireless/ath/ath5k/base.c 		memcpy(sband->bitrates, &ath5k_rates[4],
sband             424 drivers/net/wireless/ath/ath5k/base.c 		sband->n_bitrates = 8;
sband             426 drivers/net/wireless/ath/ath5k/base.c 		sband->channels = &ah->channels[count_c];
sband             427 drivers/net/wireless/ath/ath5k/base.c 		sband->n_channels = ath5k_setup_channels(ah, sband->channels,
sband             430 drivers/net/wireless/ath/ath5k/base.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] = sband;
sband             432 drivers/net/wireless/ath/ath5k/base.c 	ath5k_setup_rate_idx(ah, sband);
sband             561 drivers/net/wireless/ath/ath5k/qcu.c 	struct ieee80211_supported_band *sband;
sband             613 drivers/net/wireless/ath/ath5k/qcu.c 	sband = &ah->sbands[band];
sband             615 drivers/net/wireless/ath/ath5k/qcu.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband             616 drivers/net/wireless/ath/ath5k/qcu.c 		if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
sband             618 drivers/net/wireless/ath/ath5k/qcu.c 		rate = &sband->bitrates[i];
sband            2014 drivers/net/wireless/ath/ath6kl/wmi.c 	struct ieee80211_supported_band *sband;
sband            2057 drivers/net/wireless/ath/ath6kl/wmi.c 		sband = ar->wiphy->bands[band];
sband            2059 drivers/net/wireless/ath/ath6kl/wmi.c 		if (!sband)
sband            2069 drivers/net/wireless/ath/ath6kl/wmi.c 		for (i = 0; i < sband->n_bitrates; i++) {
sband            2073 drivers/net/wireless/ath/ath6kl/wmi.c 			    (u8) (sband->bitrates[i].bitrate / 5);
sband              79 drivers/net/wireless/ath/ath9k/beacon.c 	struct ieee80211_supported_band *sband;
sband              83 drivers/net/wireless/ath/ath9k/beacon.c 	sband = &common->sbands[sc->cur_chandef.chan->band];
sband              84 drivers/net/wireless/ath/ath9k/beacon.c 	rate = sband->bitrates[rateidx].hw_value;
sband              86 drivers/net/wireless/ath/ath9k/beacon.c 		rate |= sband->bitrates[rateidx].hw_value_short;
sband             107 drivers/net/wireless/ath/ath9k/channel.c 	struct ieee80211_supported_band *sband;
sband             111 drivers/net/wireless/ath/ath9k/channel.c 	sband = &common->sbands[NL80211_BAND_2GHZ];
sband             112 drivers/net/wireless/ath/ath9k/channel.c 	if (!sband->n_channels)
sband             113 drivers/net/wireless/ath/ath9k/channel.c 		sband = &common->sbands[NL80211_BAND_5GHZ];
sband             115 drivers/net/wireless/ath/ath9k/channel.c 	chan = &sband->channels[0];
sband            1337 drivers/net/wireless/ath/ath9k/channel.c 	struct ieee80211_supported_band *sband;
sband            1341 drivers/net/wireless/ath/ath9k/channel.c 	sband = &common->sbands[NL80211_BAND_2GHZ];
sband            1342 drivers/net/wireless/ath/ath9k/channel.c 	if (!sband->n_channels)
sband            1343 drivers/net/wireless/ath/ath9k/channel.c 		sband = &common->sbands[NL80211_BAND_5GHZ];
sband            1345 drivers/net/wireless/ath/ath9k/channel.c 	chan = &sband->channels[0];
sband             175 drivers/net/wireless/ath/ath9k/common.c 	struct ieee80211_supported_band *sband;
sband             181 drivers/net/wireless/ath/ath9k/common.c 	sband = hw->wiphy->bands[band];
sband             197 drivers/net/wireless/ath/ath9k/common.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband             198 drivers/net/wireless/ath/ath9k/common.c 		if (sband->bitrates[i].hw_value == rx_stats->rs_rate) {
sband             202 drivers/net/wireless/ath/ath9k/common.c 		if (sband->bitrates[i].hw_value_short == rx_stats->rs_rate) {
sband             598 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	struct ieee80211_supported_band *sband;
sband             602 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band];
sband             604 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	for (i = 0, j = 0; i < sband->n_bitrates; i++) {
sband             605 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		if (sta->supp_rates[sband->band] & BIT(i)) {
sband             607 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				= (sband->bitrates[i].bitrate * 2) / 10;
sband             795 drivers/net/wireless/ath/ath9k/init.c 	struct ieee80211_supported_band *sband;
sband             802 drivers/net/wireless/ath/ath9k/init.c 	sband = &common->sbands[band];
sband             803 drivers/net/wireless/ath/ath9k/init.c 	for (i = 0; i < sband->n_channels; i++) {
sband             804 drivers/net/wireless/ath/ath9k/init.c 		chan = &sband->channels[i];
sband            1960 drivers/net/wireless/ath/ath9k/main.c 	struct ieee80211_supported_band *sband;
sband            1972 drivers/net/wireless/ath/ath9k/main.c 	sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
sband            1973 drivers/net/wireless/ath/ath9k/main.c 	if (sband && idx >= sband->n_channels) {
sband            1974 drivers/net/wireless/ath/ath9k/main.c 		idx -= sband->n_channels;
sband            1975 drivers/net/wireless/ath/ath9k/main.c 		sband = NULL;
sband            1978 drivers/net/wireless/ath/ath9k/main.c 	if (!sband)
sband            1979 drivers/net/wireless/ath/ath9k/main.c 		sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
sband            1981 drivers/net/wireless/ath/ath9k/main.c 	if (!sband || idx >= sband->n_channels) {
sband            1986 drivers/net/wireless/ath/ath9k/main.c 	chan = &sband->channels[idx];
sband             344 drivers/net/wireless/ath/regd.c 	struct ieee80211_supported_band *sband;
sband             351 drivers/net/wireless/ath/regd.c 		sband = wiphy->bands[band];
sband             352 drivers/net/wireless/ath/regd.c 		for (i = 0; i < sband->n_channels; i++) {
sband             353 drivers/net/wireless/ath/regd.c 			ch = &sband->channels[i];
sband             379 drivers/net/wireless/ath/regd.c 	struct ieee80211_supported_band *sband;
sband             381 drivers/net/wireless/ath/regd.c 	sband = wiphy->bands[NL80211_BAND_2GHZ];
sband             382 drivers/net/wireless/ath/regd.c 	if (!sband)
sband             406 drivers/net/wireless/ath/regd.c 	struct ieee80211_supported_band *sband;
sband             413 drivers/net/wireless/ath/regd.c 	sband = wiphy->bands[NL80211_BAND_5GHZ];
sband             415 drivers/net/wireless/ath/regd.c 	for (i = 0; i < sband->n_channels; i++) {
sband             416 drivers/net/wireless/ath/regd.c 		ch = &sband->channels[i];
sband            4052 drivers/net/wireless/broadcom/b43/main.c 	struct ieee80211_supported_band *sband =
sband            4058 drivers/net/wireless/broadcom/b43/main.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband            4059 drivers/net/wireless/broadcom/b43/main.c 		rate = &sband->bitrates[i];
sband            4073 drivers/net/wireless/broadcom/b43/main.c 		rate = ieee80211_get_response_rate(sband, brates, rate->bitrate);
sband            2762 drivers/net/wireless/broadcom/b43legacy/main.c 	struct ieee80211_supported_band *sband =
sband            2768 drivers/net/wireless/broadcom/b43legacy/main.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband            2769 drivers/net/wireless/broadcom/b43legacy/main.c 		rate = &sband->bitrates[i];
sband            2783 drivers/net/wireless/broadcom/b43legacy/main.c 		rate = ieee80211_get_response_rate(sband, brates, rate->bitrate);
sband             635 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	struct ieee80211_supported_band *sband;
sband             639 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	sband = wiphy->bands[NL80211_BAND_5GHZ];
sband             640 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	if (!sband)
sband             643 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	for (i = 0; i < sband->n_channels; i++) {
sband             644 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 		ch = &sband->channels[i];
sband             663 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	struct ieee80211_supported_band *sband;
sband             669 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 		sband = wiphy->bands[band];
sband             670 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 		if (!sband)
sband             673 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 		for (i = 0; i < sband->n_channels; i++) {
sband             674 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 			ch = &sband->channels[i];
sband             701 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	struct ieee80211_supported_band *sband;
sband             713 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 		sband = wiphy->bands[band];
sband             714 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 		if (!sband)
sband             717 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 		for (i = 0; !ch_found && i < sband->n_channels; i++) {
sband             718 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 			ch = &sband->channels[i];
sband             743 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	struct ieee80211_supported_band *sband;
sband             757 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 			sband = wiphy->bands[NL80211_BAND_2GHZ];
sband             759 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 			sband = wiphy->bands[NL80211_BAND_5GHZ];
sband             761 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 		for (i = 0; i < sband->n_channels; i++) {
sband             762 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 			ch = &sband->channels[i];
sband            1534 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	const struct ieee80211_supported_band *sband;
sband            1540 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	sband = il_get_hw_mode(il, band);
sband            1541 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	if (!sband)
sband             325 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	struct ieee80211_supported_band *sband;
sband             334 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	sband = hw->wiphy->bands[conf->chandef.chan->band];
sband             356 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	for (i = sband->n_bitrates - 1; i >= 0; i--) {
sband             357 drivers/net/wireless/intel/iwlegacy/3945-rs.c 		if (sta->supp_rates[sband->band] & (1 << i)) {
sband             363 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	il->_3945.sta_supp_rates = sta->supp_rates[sband->band];
sband             365 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	if (sband->band == NL80211_BAND_5GHZ) {
sband             426 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_rs_tx_status(void *il_rate, struct ieee80211_supported_band *sband,
sband             444 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	first_idx = sband->bitrates[info->status.rates[0].idx].hw_value;
sband             607 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	struct ieee80211_supported_band *sband = txrc->sband;
sband             634 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	rate_mask = sta->supp_rates[sband->band];
sband             638 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	if (sband->band == NL80211_BAND_5GHZ && max_rate_idx != -1)
sband             645 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	if (sband->band == NL80211_BAND_5GHZ)
sband             689 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	    il3945_get_adjacent_rate(rs_sta, idx, rate_mask, sband->band);
sband             787 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	if (sband->band == NL80211_BAND_5GHZ) {
sband             857 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband,
sband             759 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	const struct ieee80211_supported_band *sband;
sband             766 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	sband = il_get_hw_mode(il, band);
sband             767 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (!sband)
sband             791 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_tx_status(void *il_r, struct ieee80211_supported_band *sband,
sband             973 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	if (sta->supp_rates[sband->band])
sband            2187 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	struct ieee80211_supported_band *sband = txrc->sband;
sband            2198 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		if (sband->band == NL80211_BAND_5GHZ &&
sband            2240 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		    (sband->band == NL80211_BAND_5GHZ &&
sband            2242 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			rate_idx = rate_lowest_index(sband, sta);
sband            2244 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		else if (sband->band == NL80211_BAND_5GHZ)
sband            2277 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	struct ieee80211_supported_band *sband;
sband            2281 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	sband = hw->wiphy->bands[conf->chandef.chan->band];
sband            2291 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	lq_sta->supp_rates = sta->supp_rates[sband->band];
sband            2343 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	lq_sta->last_txrate_idx = rate_lowest_index(sband, sta);
sband            2344 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	if (sband->band == NL80211_BAND_5GHZ)
sband            2769 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband,
sband            3427 drivers/net/wireless/intel/iwlegacy/common.c 	struct ieee80211_supported_band *sband;
sband            3456 drivers/net/wireless/intel/iwlegacy/common.c 	sband = &il->bands[NL80211_BAND_5GHZ];
sband            3457 drivers/net/wireless/intel/iwlegacy/common.c 	sband->channels = &channels[ARRAY_SIZE(il_eeprom_band_1)];
sband            3459 drivers/net/wireless/intel/iwlegacy/common.c 	sband->bitrates = &rates[IL_FIRST_OFDM_RATE];
sband            3460 drivers/net/wireless/intel/iwlegacy/common.c 	sband->n_bitrates = RATE_COUNT_LEGACY - IL_FIRST_OFDM_RATE;
sband            3463 drivers/net/wireless/intel/iwlegacy/common.c 		il_init_ht_hw_capab(il, &sband->ht_cap, NL80211_BAND_5GHZ);
sband            3465 drivers/net/wireless/intel/iwlegacy/common.c 	sband = &il->bands[NL80211_BAND_2GHZ];
sband            3466 drivers/net/wireless/intel/iwlegacy/common.c 	sband->channels = channels;
sband            3468 drivers/net/wireless/intel/iwlegacy/common.c 	sband->bitrates = rates;
sband            3469 drivers/net/wireless/intel/iwlegacy/common.c 	sband->n_bitrates = RATE_COUNT_LEGACY;
sband            3472 drivers/net/wireless/intel/iwlegacy/common.c 		il_init_ht_hw_capab(il, &sband->ht_cap, NL80211_BAND_2GHZ);
sband            3483 drivers/net/wireless/intel/iwlegacy/common.c 		sband = &il->bands[ch->band];
sband            3485 drivers/net/wireless/intel/iwlegacy/common.c 		geo_ch = &sband->channels[sband->n_channels++];
sband             876 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static void rs_tx_status(void *priv_r, struct ieee80211_supported_band *sband,
sband            1056 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (sta && sta->supp_rates[sband->band])
sband            2696 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct ieee80211_supported_band *sband = txrc->sband;
sband            2709 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		if ((sband->band == NL80211_BAND_5GHZ) &&
sband            2747 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				((sband->band == NL80211_BAND_5GHZ) &&
sband            2749 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			rate_idx = rate_lowest_index(sband, sta);
sband            2751 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		else if (sband->band == NL80211_BAND_5GHZ)
sband            2783 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct ieee80211_supported_band *sband;
sband            2788 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	sband = hw->wiphy->bands[conf->chandef.chan->band];
sband            2798 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	lq_sta->supp_rates = sta->supp_rates[sband->band];
sband            2811 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	lq_sta->band = sband->band;
sband            2815 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	supp = sta->supp_rates[sband->band];
sband            2818 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		lq_sta->active_legacy_rate |= BIT(sband->bitrates[i].hw_value);
sband            2863 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	lq_sta->last_txrate_idx = rate_lowest_index(sband, sta);
sband            2864 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (sband->band == NL80211_BAND_5GHZ)
sband            3277 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static void rs_rate_init_stub(void *priv_r, struct ieee80211_supported_band *sband,
sband             928 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c 		struct ieee80211_supported_band *sband;
sband             932 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c 		sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band];
sband             935 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c 			int hw = sband->bitrates[i].hw_value;
sband             434 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 	struct ieee80211_supported_band *sband = priv->hw->wiphy->bands[band];
sband             438 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 	for (i = 0; i < sband->n_channels; i++) {
sband             442 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 			busy = sband->channels[i].hw_value ==
sband             451 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 		if (!(sband->channels[i].flags & IEEE80211_CHAN_DISABLED))
sband             452 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 			return sband->channels[i].hw_value;
sband             463 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 	const struct ieee80211_supported_band *sband;
sband             466 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 	sband = iwl_get_hw_mode(priv, band);
sband             467 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 	if (!sband) {
sband             500 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 	const struct ieee80211_supported_band *sband;
sband             506 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 	sband = iwl_get_hw_mode(priv, band);
sband             507 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 	if (!sband)
sband             707 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 			    struct ieee80211_supported_band *sband,
sband             716 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband->channels = &data->channels[idx];
sband             723 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband->n_channels = n;
sband             817 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	struct ieee80211_supported_band *sband;
sband             819 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband = &data->bands[NL80211_BAND_2GHZ];
sband             820 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband->band = NL80211_BAND_2GHZ;
sband             821 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband->bitrates = &iwl_cfg80211_rates[RATES_24_OFFS];
sband             822 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband->n_bitrates = N_RATES_24;
sband             823 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	n_used += iwl_init_sband_channels(data, sband, n_channels,
sband             825 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ,
sband             828 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband = &data->bands[NL80211_BAND_5GHZ];
sband             829 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband->band = NL80211_BAND_5GHZ;
sband             830 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband->bitrates = &iwl_cfg80211_rates[RATES_52_OFFS];
sband             831 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband->n_bitrates = N_RATES_52;
sband             832 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	n_used += iwl_init_sband_channels(data, sband, n_channels,
sband             834 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_5GHZ,
sband             123 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h 			    struct ieee80211_supported_band *sband,
sband             678 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c static void iwl_init_he_hw_capab(struct ieee80211_supported_band *sband,
sband             681 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband->iftype_data = iwl_he_capa;
sband             682 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband->n_iftype_data = ARRAY_SIZE(iwl_he_capa);
sband             688 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 		for (i = 0; i < sband->n_iftype_data; i++) {
sband             708 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	struct ieee80211_supported_band *sband;
sband             712 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband = &data->bands[NL80211_BAND_2GHZ];
sband             713 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband->band = NL80211_BAND_2GHZ;
sband             714 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband->bitrates = &iwl_cfg80211_rates[RATES_24_OFFS];
sband             715 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband->n_bitrates = N_RATES_24;
sband             716 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	n_used += iwl_init_sband_channels(data, sband, n_channels,
sband             718 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ,
sband             722 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 		iwl_init_he_hw_capab(sband, tx_chains, rx_chains);
sband             724 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband = &data->bands[NL80211_BAND_5GHZ];
sband             725 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband->band = NL80211_BAND_5GHZ;
sband             726 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband->bitrates = &iwl_cfg80211_rates[RATES_52_OFFS];
sband             727 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband->n_bitrates = N_RATES_52;
sband             728 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	n_used += iwl_init_sband_channels(data, sband, n_channels,
sband             730 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_5GHZ,
sband             733 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 		iwl_init_vht_hw_capab(trans, data, &sband->vht_cap,
sband             737 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 		iwl_init_he_hw_capab(sband, tx_chains, rx_chains);
sband            1319 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 	struct ieee80211_supported_band *sband = NULL;
sband            1410 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 	while (!sband && i < NUM_NL80211_BANDS)
sband            1411 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 		sband = mvm->hw->wiphy->bands[i++];
sband            1413 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 	if (WARN_ON_ONCE(!sband))
sband            1416 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 	chan = &sband->channels[0];
sband             375 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	struct ieee80211_supported_band *sband;
sband             383 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	sband = mvm->hw->wiphy->bands[band];
sband             386 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 		int hw = sband->bitrates[i].hw_value;
sband             292 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c 		struct ieee80211_supported_band *sband = NULL;
sband             295 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c 		while (!sband && band < NUM_NL80211_BANDS)
sband             296 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c 			sband = mvm->hw->wiphy->bands[band++];
sband             298 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c 		if (WARN_ON(!sband))
sband             301 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c 		chan = &sband->channels[0];
sband             121 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 				  struct ieee80211_supported_band *sband)
sband             155 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	if (sband->iftype_data && sband->iftype_data->he_cap.has_he &&
sband             156 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	    !(sband->iftype_data->he_cap.he_cap_elem.phy_cap_info[1] &
sband             239 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 			   struct ieee80211_supported_band *sband,
sband             246 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		le16_to_cpu(sband->iftype_data->he_cap.he_mcs_nss_supp.tx_mcs_80);
sband             248 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		le16_to_cpu(sband->iftype_data->he_cap.he_mcs_nss_supp.tx_mcs_160);
sband             287 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 				 struct ieee80211_supported_band *sband,
sband             299 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	tmp = sta->supp_rates[sband->band];
sband             301 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		supp |= BIT(sband->bitrates[i].hw_value);
sband             309 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		rs_fw_he_set_enabled_rates(sta, sband, cmd);
sband             442 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	struct ieee80211_supported_band *sband = hw->wiphy->bands[band];
sband             448 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		.flags = cpu_to_le16(rs_fw_get_config_flags(mvm, sta, sband)),
sband             461 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	rs_fw_set_supp_rates(sta, sband, &cfg_cmd);
sband            1204 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				      struct ieee80211_supported_band *sband,
sband            2966 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct ieee80211_supported_band *sband;
sband            2974 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	sband = hw->wiphy->bands[band];
sband            2995 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	lq_sta->band = sband->band;
sband            2999 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	supp = sta->supp_rates[sband->band];
sband            3002 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		lq_sta->active_legacy_rate |= BIT(sband->bitrates[i].hw_value);
sband            3044 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			       struct ieee80211_supported_band *sband,
sband            3060 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	iwl_mvm_rs_rate_init(mvm, sta, sband->band, true);
sband            4134 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			     struct ieee80211_supported_band *sband,
sband            2688 drivers/net/wireless/mac80211_hwsim.c static void mac80211_hwsim_he_capab(struct ieee80211_supported_band *sband)
sband            2692 drivers/net/wireless/mac80211_hwsim.c 	if (sband->band == NL80211_BAND_2GHZ) {
sband            2694 drivers/net/wireless/mac80211_hwsim.c 		sband->iftype_data =
sband            2696 drivers/net/wireless/mac80211_hwsim.c 	} else if (sband->band == NL80211_BAND_5GHZ) {
sband            2698 drivers/net/wireless/mac80211_hwsim.c 		sband->iftype_data =
sband            2704 drivers/net/wireless/mac80211_hwsim.c 	sband->n_iftype_data = n_iftype_data;
sband            2933 drivers/net/wireless/mac80211_hwsim.c 		struct ieee80211_supported_band *sband = &data->bands[band];
sband            2935 drivers/net/wireless/mac80211_hwsim.c 		sband->band = band;
sband            2939 drivers/net/wireless/mac80211_hwsim.c 			sband->channels = data->channels_2ghz;
sband            2940 drivers/net/wireless/mac80211_hwsim.c 			sband->n_channels = ARRAY_SIZE(hwsim_channels_2ghz);
sband            2941 drivers/net/wireless/mac80211_hwsim.c 			sband->bitrates = data->rates;
sband            2942 drivers/net/wireless/mac80211_hwsim.c 			sband->n_bitrates = ARRAY_SIZE(hwsim_rates);
sband            2945 drivers/net/wireless/mac80211_hwsim.c 			sband->channels = data->channels_5ghz;
sband            2946 drivers/net/wireless/mac80211_hwsim.c 			sband->n_channels = ARRAY_SIZE(hwsim_channels_5ghz);
sband            2947 drivers/net/wireless/mac80211_hwsim.c 			sband->bitrates = data->rates + 4;
sband            2948 drivers/net/wireless/mac80211_hwsim.c 			sband->n_bitrates = ARRAY_SIZE(hwsim_rates) - 4;
sband            2950 drivers/net/wireless/mac80211_hwsim.c 			sband->vht_cap.vht_supported = true;
sband            2951 drivers/net/wireless/mac80211_hwsim.c 			sband->vht_cap.cap =
sband            2960 drivers/net/wireless/mac80211_hwsim.c 			sband->vht_cap.vht_mcs.rx_mcs_map =
sband            2969 drivers/net/wireless/mac80211_hwsim.c 			sband->vht_cap.vht_mcs.tx_mcs_map =
sband            2970 drivers/net/wireless/mac80211_hwsim.c 				sband->vht_cap.vht_mcs.rx_mcs_map;
sband            2976 drivers/net/wireless/mac80211_hwsim.c 		sband->ht_cap.ht_supported = true;
sband            2977 drivers/net/wireless/mac80211_hwsim.c 		sband->ht_cap.cap = IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
sband            2982 drivers/net/wireless/mac80211_hwsim.c 		sband->ht_cap.ampdu_factor = 0x3;
sband            2983 drivers/net/wireless/mac80211_hwsim.c 		sband->ht_cap.ampdu_density = 0x6;
sband            2984 drivers/net/wireless/mac80211_hwsim.c 		memset(&sband->ht_cap.mcs, 0,
sband            2985 drivers/net/wireless/mac80211_hwsim.c 		       sizeof(sband->ht_cap.mcs));
sband            2986 drivers/net/wireless/mac80211_hwsim.c 		sband->ht_cap.mcs.rx_mask[0] = 0xff;
sband            2987 drivers/net/wireless/mac80211_hwsim.c 		sband->ht_cap.mcs.rx_mask[1] = 0xff;
sband            2988 drivers/net/wireless/mac80211_hwsim.c 		sband->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED;
sband            2990 drivers/net/wireless/mac80211_hwsim.c 		mac80211_hwsim_he_capab(sband);
sband            2992 drivers/net/wireless/mac80211_hwsim.c 		hw->wiphy->bands[band] = sband;
sband              44 drivers/net/wireless/marvell/mwifiex/11h.c 	struct ieee80211_supported_band *sband;
sband              52 drivers/net/wireless/marvell/mwifiex/11h.c 	sband = priv->wdev.wiphy->bands[radio_type];
sband              70 drivers/net/wireless/marvell/mwifiex/11h.c 	ie_header->len  = cpu_to_le16(2 * sband->n_channels + 2);
sband              73 drivers/net/wireless/marvell/mwifiex/11h.c 	*(*buffer)++ = 2 * sband->n_channels;
sband              74 drivers/net/wireless/marvell/mwifiex/11h.c 	for (i = 0; i < sband->n_channels; i++) {
sband              76 drivers/net/wireless/marvell/mwifiex/11h.c 					sband->channels[i].center_freq);
sband              41 drivers/net/wireless/marvell/mwifiex/11n.c 	struct ieee80211_supported_band *sband =
sband              44 drivers/net/wireless/marvell/mwifiex/11n.c 	if (WARN_ON_ONCE(!sband)) {
sband              50 drivers/net/wireless/marvell/mwifiex/11n.c 		(sband->ht_cap.ampdu_factor &
sband              52 drivers/net/wireless/marvell/mwifiex/11n.c 		((sband->ht_cap.ampdu_density <<
sband              56 drivers/net/wireless/marvell/mwifiex/11n.c 	memcpy((u8 *)&ht_cap->mcs, &sband->ht_cap.mcs,
sband              57 drivers/net/wireless/marvell/mwifiex/11n.c 	       sizeof(sband->ht_cap.mcs));
sband              60 drivers/net/wireless/marvell/mwifiex/11n.c 	    (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 &&
sband              69 drivers/net/wireless/marvell/mwifiex/11n.c 	ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap);
sband             321 drivers/net/wireless/marvell/mwifiex/11n.c 	struct ieee80211_supported_band *sband;
sband             329 drivers/net/wireless/marvell/mwifiex/11n.c 	sband = priv->wdev.wiphy->bands[radio_type];
sband             395 drivers/net/wireless/marvell/mwifiex/11n.c 			if (!(sband->ht_cap.cap &
sband             418 drivers/net/wireless/marvell/mwifiex/11n.c 		if (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 &&
sband             545 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	struct ieee80211_supported_band *sband;
sband             563 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	sband = wiphy->bands[band];
sband             565 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	for (i = 0; i < sband->n_channels ; i++) {
sband             566 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		ch = &sband->channels[i];
sband             620 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	struct ieee80211_supported_band *sband;
sband             626 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	sband = wiphy->bands[NL80211_BAND_5GHZ];
sband             628 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	for (i = 0; i < sband->n_channels; i++) {
sband             629 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		chan = &sband->channels[i];
sband             315 drivers/net/wireless/marvell/mwifiex/cfp.c 	struct ieee80211_supported_band *sband;
sband             323 drivers/net/wireless/marvell/mwifiex/cfp.c 		sband = priv->wdev.wiphy->bands[NL80211_BAND_2GHZ];
sband             325 drivers/net/wireless/marvell/mwifiex/cfp.c 		sband = priv->wdev.wiphy->bands[NL80211_BAND_5GHZ];
sband             327 drivers/net/wireless/marvell/mwifiex/cfp.c 	if (!sband) {
sband             334 drivers/net/wireless/marvell/mwifiex/cfp.c 	for (i = 0; i < sband->n_channels; i++) {
sband             335 drivers/net/wireless/marvell/mwifiex/cfp.c 		ch = &sband->channels[i];
sband             350 drivers/net/wireless/marvell/mwifiex/cfp.c 	if (i == sband->n_channels) {
sband             396 drivers/net/wireless/marvell/mwifiex/cfp.c 	struct ieee80211_supported_band *sband;
sband             400 drivers/net/wireless/marvell/mwifiex/cfp.c 		sband = wiphy->bands[NL80211_BAND_5GHZ];
sband             401 drivers/net/wireless/marvell/mwifiex/cfp.c 		if (WARN_ON_ONCE(!sband))
sband             405 drivers/net/wireless/marvell/mwifiex/cfp.c 		sband = wiphy->bands[NL80211_BAND_2GHZ];
sband             406 drivers/net/wireless/marvell/mwifiex/cfp.c 		if (WARN_ON_ONCE(!sband))
sband             412 drivers/net/wireless/marvell/mwifiex/cfp.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband             415 drivers/net/wireless/marvell/mwifiex/cfp.c 		rates[num_rates++] = (u8)(sband->bitrates[i].bitrate / 5);
sband             463 drivers/net/wireless/marvell/mwifiex/scan.c 	struct ieee80211_supported_band *sband;
sband             473 drivers/net/wireless/marvell/mwifiex/scan.c 		sband = priv->wdev.wiphy->bands[band];
sband             475 drivers/net/wireless/marvell/mwifiex/scan.c 		for (i = 0; (i < sband->n_channels) ; i++) {
sband             476 drivers/net/wireless/marvell/mwifiex/scan.c 			ch = &sband->channels[i];
sband             531 drivers/net/wireless/marvell/mwifiex/scan.c 	struct ieee80211_supported_band *sband;
sband             540 drivers/net/wireless/marvell/mwifiex/scan.c 		sband = priv->wdev.wiphy->bands[band];
sband             542 drivers/net/wireless/marvell/mwifiex/scan.c 		for (i = 0; (i < sband->n_channels) ; i++) {
sband             543 drivers/net/wireless/marvell/mwifiex/scan.c 			ch = &sband->channels[i];
sband            3080 drivers/net/wireless/marvell/mwl8k.c 	struct ieee80211_supported_band *sband;
sband            3084 drivers/net/wireless/marvell/mwl8k.c 		sband = priv->hw->wiphy->bands[band];
sband            3085 drivers/net/wireless/marvell/mwl8k.c 		if (!sband)
sband            3088 drivers/net/wireless/marvell/mwl8k.c 		for (ch = 0; ch < sband->n_channels; ch++, idx++)
sband            3089 drivers/net/wireless/marvell/mwl8k.c 			if (sband->channels[ch].center_freq == freq)
sband            5401 drivers/net/wireless/marvell/mwl8k.c 	struct ieee80211_supported_band *sband;
sband            5404 drivers/net/wireless/marvell/mwl8k.c 		sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
sband            5406 drivers/net/wireless/marvell/mwl8k.c 		if (sband && idx >= sband->n_channels) {
sband            5407 drivers/net/wireless/marvell/mwl8k.c 			idx -= sband->n_channels;
sband            5408 drivers/net/wireless/marvell/mwl8k.c 			sband = NULL;
sband            5411 drivers/net/wireless/marvell/mwl8k.c 		if (!sband)
sband            5412 drivers/net/wireless/marvell/mwl8k.c 			sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
sband            5414 drivers/net/wireless/marvell/mwl8k.c 		if (!sband || idx >= sband->n_channels)
sband            5418 drivers/net/wireless/marvell/mwl8k.c 		survey->channel = &sband->channels[idx];
sband             112 drivers/net/wireless/mediatek/mt76/mac80211.c 				 struct ieee80211_supported_band *sband,
sband             115 drivers/net/wireless/mediatek/mt76/mac80211.c 	struct ieee80211_sta_ht_cap *ht_cap = &sband->ht_cap;
sband             131 drivers/net/wireless/mediatek/mt76/mac80211.c 	vht_cap = &sband->vht_cap;
sband             151 drivers/net/wireless/mediatek/mt76/mac80211.c 		mt76_init_stream_cap(dev, &dev->sband_2g.sband, false);
sband             153 drivers/net/wireless/mediatek/mt76/mac80211.c 		mt76_init_stream_cap(dev, &dev->sband_5g.sband, vht);
sband             162 drivers/net/wireless/mediatek/mt76/mac80211.c 	struct ieee80211_supported_band *sband = &msband->sband;
sband             178 drivers/net/wireless/mediatek/mt76/mac80211.c 	sband->channels = chanlist;
sband             179 drivers/net/wireless/mediatek/mt76/mac80211.c 	sband->n_channels = n_chan;
sband             180 drivers/net/wireless/mediatek/mt76/mac80211.c 	sband->bitrates = rates;
sband             181 drivers/net/wireless/mediatek/mt76/mac80211.c 	sband->n_bitrates = n_rates;
sband             182 drivers/net/wireless/mediatek/mt76/mac80211.c 	dev->chandef.chan = &sband->channels[0];
sband             184 drivers/net/wireless/mediatek/mt76/mac80211.c 	ht_cap = &sband->ht_cap;
sband             196 drivers/net/wireless/mediatek/mt76/mac80211.c 	mt76_init_stream_cap(dev, sband, vht);
sband             201 drivers/net/wireless/mediatek/mt76/mac80211.c 	vht_cap = &sband->vht_cap;
sband             217 drivers/net/wireless/mediatek/mt76/mac80211.c 	dev->hw->wiphy->bands[NL80211_BAND_2GHZ] = &dev->sband_2g.sband;
sband             229 drivers/net/wireless/mediatek/mt76/mac80211.c 	dev->hw->wiphy->bands[NL80211_BAND_5GHZ] = &dev->sband_5g.sband;
sband             240 drivers/net/wireless/mediatek/mt76/mac80211.c 	struct ieee80211_supported_band *sband = dev->hw->wiphy->bands[band];
sband             244 drivers/net/wireless/mediatek/mt76/mac80211.c 	if (!sband)
sband             247 drivers/net/wireless/mediatek/mt76/mac80211.c 	for (i = 0; i < sband->n_channels; i++) {
sband             248 drivers/net/wireless/mediatek/mt76/mac80211.c 		if (sband->channels[i].flags & IEEE80211_CHAN_DISABLED)
sband             258 drivers/net/wireless/mediatek/mt76/mac80211.c 	sband->n_channels = 0;
sband             430 drivers/net/wireless/mediatek/mt76/mac80211.c 	struct mt76_sband *sband;
sband             438 drivers/net/wireless/mediatek/mt76/mac80211.c 	sband = &dev->sband_2g;
sband             439 drivers/net/wireless/mediatek/mt76/mac80211.c 	if (idx >= sband->sband.n_channels) {
sband             440 drivers/net/wireless/mediatek/mt76/mac80211.c 		idx -= sband->sband.n_channels;
sband             441 drivers/net/wireless/mediatek/mt76/mac80211.c 		sband = &dev->sband_5g;
sband             444 drivers/net/wireless/mediatek/mt76/mac80211.c 	if (idx >= sband->sband.n_channels)
sband             447 drivers/net/wireless/mediatek/mt76/mac80211.c 	chan = &sband->sband.channels[idx];
sband             850 drivers/net/wireless/mediatek/mt76/mac80211.c 		  struct ieee80211_supported_band *sband,
sband             853 drivers/net/wireless/mediatek/mt76/mac80211.c 	int i, offset = 0, len = sband->n_bitrates;
sband             856 drivers/net/wireless/mediatek/mt76/mac80211.c 		if (sband == &dev->sband_5g.sband)
sband             860 drivers/net/wireless/mediatek/mt76/mac80211.c 	} else if (sband == &dev->sband_2g.sband) {
sband             865 drivers/net/wireless/mediatek/mt76/mac80211.c 		if ((sband->bitrates[i].hw_value & GENMASK(7, 0)) == idx)
sband             328 drivers/net/wireless/mediatek/mt76/mt76.h 	struct ieee80211_supported_band sband;
sband             616 drivers/net/wireless/mediatek/mt76/mt76.h 	idx = c - &msband->sband.channels[0];
sband             765 drivers/net/wireless/mediatek/mt76/mt76.h 		  struct ieee80211_supported_band *sband,
sband             469 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		    struct ieee80211_supported_band *sband)
sband             502 drivers/net/wireless/mediatek/mt76/mt7603/init.c 	for (i = 0; i < sband->n_channels; i++) {
sband             503 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		chan = &sband->channels[i];
sband             582 drivers/net/wireless/mediatek/mt76/mt7603/init.c 	mt7603_init_txpower(dev, &dev->mt76.sband_2g.sband);
sband             400 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	struct ieee80211_supported_band *sband;
sband             415 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	sband = (i & 1) ? &dev->mt76.sband_5g.sband : &dev->mt76.sband_2g.sband;
sband             421 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	status->band = sband->band;
sband             422 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (i < sband->n_channels)
sband             423 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		status->freq = sband->channels[i].center_freq;
sband             443 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (!sband->channels)
sband             486 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			i = mt76_get_rate(&dev->mt76, sband, i, cck);
sband             950 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	struct ieee80211_supported_band *sband;
sband            1056 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			sband = &dev->mt76.sband_5g.sband;
sband            1058 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			sband = &dev->mt76.sband_2g.sband;
sband            1060 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		final_rate = mt76_get_rate(&dev->mt76, sband, final_rate,
sband             182 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		    struct ieee80211_supported_band *sband)
sband             186 drivers/net/wireless/mediatek/mt76/mt7615/init.c 	enum nl80211_band band = sband->band;
sband             189 drivers/net/wireless/mediatek/mt76/mt7615/init.c 	for (i = 0; i < sband->n_channels; i++) {
sband             190 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		struct ieee80211_channel *chan = &sband->channels[i];
sband             274 drivers/net/wireless/mediatek/mt76/mt7615/init.c 	dev->mt76.sband_2g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING;
sband             275 drivers/net/wireless/mediatek/mt76/mt7615/init.c 	dev->mt76.sband_5g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING;
sband             276 drivers/net/wireless/mediatek/mt76/mt7615/init.c 	dev->mt76.sband_5g.sband.vht_cap.cap |=
sband             296 drivers/net/wireless/mediatek/mt76/mt7615/init.c 	mt7615_init_txpower(dev, &dev->mt76.sband_2g.sband);
sband             297 drivers/net/wireless/mediatek/mt76/mt7615/init.c 	mt7615_init_txpower(dev, &dev->mt76.sband_5g.sband);
sband              47 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	struct ieee80211_supported_band *sband;
sband              69 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		sband = &dev->mt76.sband_5g.sband;
sband              71 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		sband = &dev->mt76.sband_2g.sband;
sband              91 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	if (!sband->channels)
sband             138 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			i = mt76_get_rate(&dev->mt76, sband, i, cck);
sband             838 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	struct ieee80211_supported_band *sband;
sband             938 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			sband = &dev->mt76.sband_5g.sband;
sband             940 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			sband = &dev->mt76.sband_2g.sband;
sband             942 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		final_rate = mt76_get_rate(&dev->mt76, sband, final_rate,
sband              15 drivers/net/wireless/mediatek/mt76/mt76x0/init.c static void mt76x0_vht_cap_mask(struct ieee80211_supported_band *sband)
sband              17 drivers/net/wireless/mediatek/mt76/mt76x0/init.c 	struct ieee80211_sta_vht_cap *vht_cap = &sband->vht_cap;
sband             261 drivers/net/wireless/mediatek/mt76/mt76x0/init.c 		    struct ieee80211_supported_band *sband)
sband             268 drivers/net/wireless/mediatek/mt76/mt76x0/init.c 	for (i = 0; i < sband->n_channels; i++) {
sband             269 drivers/net/wireless/mediatek/mt76/mt76x0/init.c 		chan = &sband->channels[i];
sband             294 drivers/net/wireless/mediatek/mt76/mt76x0/init.c 		mt76x0_vht_cap_mask(&dev->mt76.sband_5g.sband);
sband             295 drivers/net/wireless/mediatek/mt76/mt76x0/init.c 		mt76x0_init_txpower(dev, &dev->mt76.sband_5g.sband);
sband             299 drivers/net/wireless/mediatek/mt76/mt76x0/init.c 		mt76x0_init_txpower(dev, &dev->mt76.sband_2g.sband);
sband             200 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		dev->mt76.sband_2g.sband.ht_cap.cap |=
sband             202 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		dev->mt76.sband_5g.sband.ht_cap.cap |=
sband             152 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 			 struct ieee80211_supported_band *sband)
sband             159 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	for (i = 0; i < sband->n_channels; i++) {
sband             160 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 		chan = &sband->channels[i];
sband              66 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h 			 struct ieee80211_supported_band *sband);
sband             318 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c 	mt76x2_init_txpower(dev, &dev->mt76.sband_2g.sband);
sband             319 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c 	mt76x2_init_txpower(dev, &dev->mt76.sband_5g.sband);
sband             231 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c 	mt76x2_init_txpower(dev, &dev->mt76.sband_2g.sband);
sband             232 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c 	mt76x2_init_txpower(dev, &dev->mt76.sband_5g.sband);
sband             518 drivers/net/wireless/mediatek/mt7601u/init.c mt76_init_sband(struct mt7601u_dev *dev, struct ieee80211_supported_band *sband,
sband             531 drivers/net/wireless/mediatek/mt7601u/init.c 	sband->channels = chanlist;
sband             532 drivers/net/wireless/mediatek/mt7601u/init.c 	sband->n_channels = n_chan;
sband             533 drivers/net/wireless/mediatek/mt7601u/init.c 	sband->bitrates = rates;
sband             534 drivers/net/wireless/mediatek/mt7601u/init.c 	sband->n_bitrates = n_rates;
sband             536 drivers/net/wireless/mediatek/mt7601u/init.c 	ht_cap = &sband->ht_cap;
sband             550 drivers/net/wireless/mediatek/mt7601u/init.c 	dev->chandef.chan = &sband->channels[0];
sband             732 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	struct ieee80211_supported_band *sband;
sband             738 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	sband = wiphy->bands[NL80211_BAND_2GHZ];
sband             739 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	if (sband && idx >= sband->n_channels) {
sband             740 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		idx -= sband->n_channels;
sband             741 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		sband = NULL;
sband             744 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	if (!sband)
sband             745 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		sband = wiphy->bands[NL80211_BAND_5GHZ];
sband             747 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	if (!sband || idx >= sband->n_channels)
sband             750 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	chan = &sband->channels[idx];
sband             694 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 	struct ieee80211_supported_band *sband;
sband             710 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		sband = &rt2x00dev->bands[rt2x00dev->curr_band];
sband             711 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		for (i = 0; i < sband->n_bitrates; i++) {
sband             712 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 			rate = rt2x00_get_rate(sband->bitrates[i].hw_value);
sband            5989 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	struct ieee80211_supported_band *sband;
sband            6100 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	sband = &rtl8xxxu_supported_band;
sband            6101 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	sband->ht_cap.ht_supported = true;
sband            6102 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	sband->ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
sband            6103 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	sband->ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_16;
sband            6104 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	sband->ht_cap.cap = IEEE80211_HT_CAP_SGI_20 | IEEE80211_HT_CAP_SGI_40;
sband            6105 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	memset(&sband->ht_cap.mcs, 0, sizeof(sband->ht_cap.mcs));
sband            6106 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	sband->ht_cap.mcs.rx_mask[0] = 0xff;
sband            6107 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	sband->ht_cap.mcs.rx_mask[4] = 0x01;
sband            6109 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		sband->ht_cap.mcs.rx_mask[1] = 0xff;
sband            6110 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		sband->ht_cap.cap |= IEEE80211_HT_CAP_SGI_40;
sband            6112 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	sband->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED;
sband            6120 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		sband->ht_cap.cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40;
sband            6122 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
sband             302 drivers/net/wireless/realtek/rtlwifi/base.c 	struct ieee80211_supported_band *sband;
sband             308 drivers/net/wireless/realtek/rtlwifi/base.c 		sband = &(rtlmac->bands[NL80211_BAND_2GHZ]);
sband             316 drivers/net/wireless/realtek/rtlwifi/base.c 		_rtl_init_hw_ht_capab(hw, &sband->ht_cap);
sband             319 drivers/net/wireless/realtek/rtlwifi/base.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
sband             323 drivers/net/wireless/realtek/rtlwifi/base.c 		sband = &(rtlmac->bands[NL80211_BAND_5GHZ]);
sband             331 drivers/net/wireless/realtek/rtlwifi/base.c 		_rtl_init_hw_ht_capab(hw, &sband->ht_cap);
sband             333 drivers/net/wireless/realtek/rtlwifi/base.c 		_rtl_init_hw_vht_capab(hw, &sband->vht_cap);
sband             335 drivers/net/wireless/realtek/rtlwifi/base.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] = sband;
sband             339 drivers/net/wireless/realtek/rtlwifi/base.c 			sband = &(rtlmac->bands[NL80211_BAND_2GHZ]);
sband             348 drivers/net/wireless/realtek/rtlwifi/base.c 			_rtl_init_hw_ht_capab(hw, &sband->ht_cap);
sband             351 drivers/net/wireless/realtek/rtlwifi/base.c 			hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
sband             354 drivers/net/wireless/realtek/rtlwifi/base.c 			sband = &(rtlmac->bands[NL80211_BAND_5GHZ]);
sband             363 drivers/net/wireless/realtek/rtlwifi/base.c 			_rtl_init_hw_ht_capab(hw, &sband->ht_cap);
sband             365 drivers/net/wireless/realtek/rtlwifi/base.c 			_rtl_init_hw_vht_capab(hw, &sband->vht_cap);
sband             367 drivers/net/wireless/realtek/rtlwifi/base.c 			hw->wiphy->bands[NL80211_BAND_5GHZ] = sband;
sband             209 drivers/net/wireless/realtek/rtlwifi/rc.c 			  struct ieee80211_supported_band *sband,
sband             250 drivers/net/wireless/realtek/rtlwifi/rc.c 			  struct ieee80211_supported_band *sband,
sband             257 drivers/net/wireless/realtek/rtlwifi/rc.c 			    struct ieee80211_supported_band *sband,
sband             135 drivers/net/wireless/realtek/rtlwifi/regd.c 	struct ieee80211_supported_band *sband;
sband             145 drivers/net/wireless/realtek/rtlwifi/regd.c 		sband = wiphy->bands[band];
sband             147 drivers/net/wireless/realtek/rtlwifi/regd.c 		for (i = 0; i < sband->n_channels; i++) {
sband             148 drivers/net/wireless/realtek/rtlwifi/regd.c 			ch = &sband->channels[i];
sband             186 drivers/net/wireless/realtek/rtlwifi/regd.c 	struct ieee80211_supported_band *sband;
sband             192 drivers/net/wireless/realtek/rtlwifi/regd.c 	sband = wiphy->bands[NL80211_BAND_2GHZ];
sband             199 drivers/net/wireless/realtek/rtlwifi/regd.c 		ch = &sband->channels[11];	/* CH 12 */
sband             202 drivers/net/wireless/realtek/rtlwifi/regd.c 		ch = &sband->channels[12];	/* CH 13 */
sband             215 drivers/net/wireless/realtek/rtlwifi/regd.c 	ch = &sband->channels[11];	/* CH 12 */
sband             223 drivers/net/wireless/realtek/rtlwifi/regd.c 	ch = &sband->channels[12];	/* CH 13 */
sband             238 drivers/net/wireless/realtek/rtlwifi/regd.c 	struct ieee80211_supported_band *sband;
sband             245 drivers/net/wireless/realtek/rtlwifi/regd.c 	sband = wiphy->bands[NL80211_BAND_5GHZ];
sband             247 drivers/net/wireless/realtek/rtlwifi/regd.c 	for (i = 0; i < sband->n_channels; i++) {
sband             248 drivers/net/wireless/realtek/rtlwifi/regd.c 		ch = &sband->channels[i];
sband             840 drivers/net/wireless/realtek/rtw88/main.c 	struct ieee80211_supported_band *sband;
sband             843 drivers/net/wireless/realtek/rtw88/main.c 		sband = kmemdup(&rtw_band_2ghz, sizeof(*sband), GFP_KERNEL);
sband             844 drivers/net/wireless/realtek/rtw88/main.c 		if (!sband)
sband             847 drivers/net/wireless/realtek/rtw88/main.c 			rtw_init_ht_cap(rtwdev, &sband->ht_cap);
sband             848 drivers/net/wireless/realtek/rtw88/main.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
sband             852 drivers/net/wireless/realtek/rtw88/main.c 		sband = kmemdup(&rtw_band_5ghz, sizeof(*sband), GFP_KERNEL);
sband             853 drivers/net/wireless/realtek/rtw88/main.c 		if (!sband)
sband             856 drivers/net/wireless/realtek/rtw88/main.c 			rtw_init_ht_cap(rtwdev, &sband->ht_cap);
sband             858 drivers/net/wireless/realtek/rtw88/main.c 			rtw_init_vht_cap(rtwdev, &sband->vht_cap);
sband             859 drivers/net/wireless/realtek/rtw88/main.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] = sband;
sband             866 drivers/net/wireless/realtek/rtw88/main.c 	kfree(sband);
sband             266 drivers/net/wireless/realtek/rtw88/regd.c 	struct ieee80211_supported_band *sband;
sband             275 drivers/net/wireless/realtek/rtw88/regd.c 		sband = wiphy->bands[band];
sband             276 drivers/net/wireless/realtek/rtw88/regd.c 		for (i = 0; i < sband->n_channels; i++) {
sband             277 drivers/net/wireless/realtek/rtw88/regd.c 			ch = &sband->channels[i];
sband             295 drivers/net/wireless/realtek/rtw88/regd.c 	struct ieee80211_supported_band *sband;
sband             304 drivers/net/wireless/realtek/rtw88/regd.c 	sband = wiphy->bands[NL80211_BAND_2GHZ];
sband             305 drivers/net/wireless/realtek/rtw88/regd.c 	if (!sband)
sband             308 drivers/net/wireless/realtek/rtw88/regd.c 	for (i = 0; i < sband->n_channels; i++) {
sband             309 drivers/net/wireless/realtek/rtw88/regd.c 		ch = &sband->channels[i];
sband             314 drivers/net/wireless/realtek/rtw88/regd.c 	sband = wiphy->bands[NL80211_BAND_5GHZ];
sband             315 drivers/net/wireless/realtek/rtw88/regd.c 	if (!sband)
sband             318 drivers/net/wireless/realtek/rtw88/regd.c 	for (i = 0; i < sband->n_channels; i++) {
sband             319 drivers/net/wireless/realtek/rtw88/regd.c 		ch = &sband->channels[i];
sband             316 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		struct ieee80211_supported_band *sband =
sband             319 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		kfree(sband->channels);
sband            1688 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	struct ieee80211_supported_band *sband;
sband            1701 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		sband = wiphy->bands[NL80211_BAND_5GHZ];
sband            1703 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		for (i = 0; i < sband->n_channels; i++) {
sband            1704 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			ch = &sband->channels[i];
sband             317 drivers/net/wireless/st/cw1200/main.c 		struct ieee80211_supported_band *sband = hw->wiphy->bands[band];
sband             318 drivers/net/wireless/st/cw1200/main.c 		if (!sband)
sband             320 drivers/net/wireless/st/cw1200/main.c 		for (i = 0; i < sband->n_channels; i++) {
sband             321 drivers/net/wireless/st/cw1200/main.c 			sband->channels[i].flags = 0;
sband             322 drivers/net/wireless/st/cw1200/main.c 			sband->channels[i].max_antenna_gain = 0;
sband             323 drivers/net/wireless/st/cw1200/main.c 			sband->channels[i].max_power = 30;
sband              67 drivers/staging/rtl8723bs/os_dep/wifi_regd.c 	struct ieee80211_supported_band *sband;
sband              75 drivers/staging/rtl8723bs/os_dep/wifi_regd.c 		sband = wiphy->bands[i];
sband              77 drivers/staging/rtl8723bs/os_dep/wifi_regd.c 		if (sband) {
sband              78 drivers/staging/rtl8723bs/os_dep/wifi_regd.c 			for (j = 0; j < sband->n_channels; j++) {
sband              79 drivers/staging/rtl8723bs/os_dep/wifi_regd.c 				ch = &sband->channels[j];
sband              29 drivers/staging/vt6655/dpc.c 	struct ieee80211_supported_band *sband;
sband              54 drivers/staging/vt6655/dpc.c 	sband = hw->wiphy->bands[hw->conf.chandef.chan->band];
sband              63 drivers/staging/vt6655/dpc.c 	for (ii = 0; ii < sband->n_bitrates; ii++) {
sband              64 drivers/staging/vt6655/dpc.c 		if (sband->bitrates[ii].hw_value == r) {
sband              70 drivers/staging/vt6655/dpc.c 	if (ii == sband->n_bitrates) {
sband              30 drivers/staging/vt6656/dpc.c 	struct ieee80211_supported_band *sband;
sband              86 drivers/staging/vt6656/dpc.c 	sband = hw->wiphy->bands[hw->conf.chandef.chan->band];
sband              95 drivers/staging/vt6656/dpc.c 	for (ii = 0; ii < sband->n_bitrates; ii++) {
sband              96 drivers/staging/vt6656/dpc.c 		if (sband->bitrates[ii].hw_value == r) {
sband             102 drivers/staging/vt6656/dpc.c 	if (ii == sband->n_bitrates) {
sband             431 include/net/cfg80211.h ieee80211_get_sband_iftype_data(const struct ieee80211_supported_band *sband,
sband             439 include/net/cfg80211.h 	for (i = 0; i < sband->n_iftype_data; i++)  {
sband             441 include/net/cfg80211.h 			&sband->iftype_data[i];
sband             458 include/net/cfg80211.h ieee80211_get_he_iftype_cap(const struct ieee80211_supported_band *sband,
sband             462 include/net/cfg80211.h 		ieee80211_get_sband_iftype_data(sband, iftype);
sband             477 include/net/cfg80211.h ieee80211_get_he_sta_cap(const struct ieee80211_supported_band *sband)
sband             479 include/net/cfg80211.h 	return ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_STATION);
sband            5048 include/net/cfg80211.h ieee80211_get_response_rate(struct ieee80211_supported_band *sband,
sband            5059 include/net/cfg80211.h u32 ieee80211_mandatory_rates(struct ieee80211_supported_band *sband,
sband            5909 include/net/mac80211.h 	struct ieee80211_supported_band *sband;
sband            5942 include/net/mac80211.h 	void (*rate_init)(void *priv, struct ieee80211_supported_band *sband,
sband            5945 include/net/mac80211.h 	void (*rate_update)(void *priv, struct ieee80211_supported_band *sband,
sband            5953 include/net/mac80211.h 			      struct ieee80211_supported_band *sband,
sband            5955 include/net/mac80211.h 	void (*tx_status)(void *priv, struct ieee80211_supported_band *sband,
sband            5975 include/net/mac80211.h rate_lowest_index(struct ieee80211_supported_band *sband,
sband            5980 include/net/mac80211.h 	for (i = 0; i < sband->n_bitrates; i++)
sband            5981 include/net/mac80211.h 		if (rate_supported(sta, sband->band, i))
sband            5992 include/net/mac80211.h bool rate_usable_index_exists(struct ieee80211_supported_band *sband,
sband            5997 include/net/mac80211.h 	for (i = 0; i < sband->n_bitrates; i++)
sband            5998 include/net/mac80211.h 		if (rate_supported(sta, sband->band, i))
sband             185 net/mac80211/agg-rx.c 	struct ieee80211_supported_band *sband;
sband             191 net/mac80211/agg-rx.c 	sband = ieee80211_get_sband(sdata);
sband             192 net/mac80211/agg-rx.c 	if (!sband)
sband             194 net/mac80211/agg-rx.c 	he_cap = ieee80211_get_he_iftype_cap(sband, sdata->vif.type);
sband             696 net/mac80211/cfg.c 		struct ieee80211_supported_band *sband;
sband             700 net/mac80211/cfg.c 		sband = ieee80211_get_sband(sta->sdata);
sband             701 net/mac80211/cfg.c 		if (sband) {
sband             702 net/mac80211/cfg.c 			brate = sband->bitrates[rate->idx].bitrate;
sband            1334 net/mac80211/cfg.c 	struct ieee80211_supported_band *sband;
sband            1338 net/mac80211/cfg.c 	sband = ieee80211_get_sband(sdata);
sband            1339 net/mac80211/cfg.c 	if (!sband)
sband            1480 net/mac80211/cfg.c 					 sband, params->supported_rates,
sband            1482 net/mac80211/cfg.c 					 &sta->sta.supp_rates[sband->band]);
sband            1486 net/mac80211/cfg.c 		ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
sband            1491 net/mac80211/cfg.c 		ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
sband            1495 net/mac80211/cfg.c 		ieee80211_he_cap_ie_to_sta_he_cap(sdata, sband,
sband            1504 net/mac80211/cfg.c 					      sband->band);
sband            2154 net/mac80211/cfg.c 	struct ieee80211_supported_band *sband;
sband            2160 net/mac80211/cfg.c 	sband = ieee80211_get_sband(sdata);
sband            2161 net/mac80211/cfg.c 	if (!sband)
sband            2175 net/mac80211/cfg.c 	    sband->band == NL80211_BAND_5GHZ) {
sband            2188 net/mac80211/cfg.c 					 wiphy->bands[sband->band],
sband            2891 net/mac80211/cfg.c 		struct ieee80211_supported_band *sband = wiphy->bands[i];
sband            2903 net/mac80211/cfg.c 		if (!sband)
sband              12 net/mac80211/he.c 				  struct ieee80211_supported_band *sband,
sband              24 net/mac80211/he.c 	if (!he_cap_ie || !ieee80211_get_he_sta_cap(sband))
sband             138 net/mac80211/ht.c 				       struct ieee80211_supported_band *sband,
sband             151 net/mac80211/ht.c 	if (!ht_cap_ie || !sband->ht_cap.ht_supported)
sband             156 net/mac80211/ht.c 	own_cap = sband->ht_cap;
sband              50 net/mac80211/ibss.c 	struct ieee80211_supported_band *sband;
sband              93 net/mac80211/ibss.c 	sband = local->hw.wiphy->bands[chandef->chan->band];
sband             100 net/mac80211/ibss.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband             101 net/mac80211/ibss.c 		if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
sband             103 net/mac80211/ibss.c 		if (sband->bitrates[i].bitrate > 110 &&
sband             113 net/mac80211/ibss.c 	for (ri = 0; ri < sband->n_bitrates; ri++) {
sband             114 net/mac80211/ibss.c 		int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate,
sband             129 net/mac80211/ibss.c 	if (sband->band == NL80211_BAND_2GHZ) {
sband             157 net/mac80211/ibss.c 		for (; ri < sband->n_bitrates; ri++) {
sband             158 net/mac80211/ibss.c 			int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate,
sband             179 net/mac80211/ibss.c 	    sband->ht_cap.ht_supported) {
sband             182 net/mac80211/ibss.c 		memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap));
sband             191 net/mac80211/ibss.c 		pos = ieee80211_ie_build_ht_oper(pos, &sband->ht_cap,
sband             197 net/mac80211/ibss.c 		    sband->vht_cap.vht_supported) {
sband             198 net/mac80211/ibss.c 			pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap,
sband             199 net/mac80211/ibss.c 							 sband->vht_cap.cap);
sband             200 net/mac80211/ibss.c 			pos = ieee80211_ie_build_vht_oper(pos, &sband->vht_cap,
sband             402 net/mac80211/ibss.c 	struct ieee80211_supported_band *sband;
sband             444 net/mac80211/ibss.c 	sband = sdata->local->hw.wiphy->bands[cbss->channel->band];
sband             454 net/mac80211/ibss.c 		for (j = 0; j < sband->n_bitrates; j++) {
sband             456 net/mac80211/ibss.c 			if ((rate_flags & sband->bitrates[j].flags)
sband             460 net/mac80211/ibss.c 			brate = DIV_ROUND_UP(sband->bitrates[j].bitrate,
sband             613 net/mac80211/ibss.c 	struct ieee80211_supported_band *sband;
sband             653 net/mac80211/ibss.c 	sband = local->hw.wiphy->bands[band];
sband             655 net/mac80211/ibss.c 			ieee80211_mandatory_rates(sband, scan_width);
sband             994 net/mac80211/ibss.c 	struct ieee80211_supported_band *sband;
sband            1004 net/mac80211/ibss.c 	sband = local->hw.wiphy->bands[band];
sband            1005 net/mac80211/ibss.c 	if (WARN_ON(!sband))
sband            1026 net/mac80211/ibss.c 				ieee80211_mandatory_rates(sband, scan_width);
sband            1060 net/mac80211/ibss.c 		rates_updated |= ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
sband            1076 net/mac80211/ibss.c 			ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
sband            1208 net/mac80211/ibss.c 	struct ieee80211_supported_band *sband;
sband            1243 net/mac80211/ibss.c 	sband = local->hw.wiphy->bands[band];
sband            1245 net/mac80211/ibss.c 			ieee80211_mandatory_rates(sband, scan_width);
sband            1761 net/mac80211/ibss.c 	struct ieee80211_supported_band *sband;
sband            1804 net/mac80211/ibss.c 	sband = local->hw.wiphy->bands[params->chandef.chan->band];
sband            1805 net/mac80211/ibss.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband            1806 net/mac80211/ibss.c 		if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
sband            1771 net/mac80211/ieee80211_i.h 			  struct ieee80211_supported_band *sband,
sband            1789 net/mac80211/ieee80211_i.h 				       struct ieee80211_supported_band *sband,
sband            1845 net/mac80211/ieee80211_i.h 				    struct ieee80211_supported_band *sband,
sband            1873 net/mac80211/ieee80211_i.h 				  struct ieee80211_supported_band *sband,
sband            2154 net/mac80211/ieee80211_i.h 			     const struct ieee80211_supported_band *sband,
sband            1835 net/mac80211/iface.c 		struct ieee80211_supported_band *sband;
sband            1836 net/mac80211/iface.c 		sband = local->hw.wiphy->bands[i];
sband            1838 net/mac80211/iface.c 			sband ? (1 << sband->n_bitrates) - 1 : 0;
sband            1839 net/mac80211/iface.c 		if (sband) {
sband            1844 net/mac80211/iface.c 			       sband->ht_cap.mcs.rx_mask,
sband            1847 net/mac80211/iface.c 			cap = sband->vht_cap.vht_mcs.rx_mcs_map;
sband             950 net/mac80211/main.c 		struct ieee80211_supported_band *sband;
sband             952 net/mac80211/main.c 		sband = local->hw.wiphy->bands[band];
sband             953 net/mac80211/main.c 		if (!sband)
sband             958 net/mac80211/main.c 						&sband->channels[0],
sband             968 net/mac80211/main.c 		channels += sband->n_channels;
sband             970 net/mac80211/main.c 		if (max_bitrates < sband->n_bitrates)
sband             971 net/mac80211/main.c 			max_bitrates = sband->n_bitrates;
sband             972 net/mac80211/main.c 		supp_ht = supp_ht || sband->ht_cap.ht_supported;
sband             973 net/mac80211/main.c 		supp_vht = supp_vht || sband->vht_cap.vht_supported;
sband             976 net/mac80211/main.c 			supp_he = !!ieee80211_get_he_sta_cap(sband);
sband             978 net/mac80211/main.c 		if (!sband->ht_cap.ht_supported)
sband             983 net/mac80211/main.c 			max(ieee80211_mcs_to_chains(&sband->ht_cap.mcs),
sband             987 net/mac80211/main.c 		sband->ht_cap.cap |= WLAN_HT_CAP_SM_PS_DISABLED <<
sband            1214 net/mac80211/main.c 		struct ieee80211_supported_band *sband;
sband            1219 net/mac80211/main.c 		sband = local->hw.wiphy->bands[band];
sband            1220 net/mac80211/main.c 		if (!sband || !sband->vht_cap.vht_supported)
sband            1223 net/mac80211/main.c 		ie_cap = !!(sband->vht_cap.vht_mcs.tx_highest &
sband            1229 net/mac80211/main.c 		sband = kmemdup(sband, sizeof(*sband), GFP_KERNEL);
sband            1230 net/mac80211/main.c 		if (!sband) {
sband            1238 net/mac80211/main.c 		sband->vht_cap.vht_mcs.tx_highest ^=
sband            1241 net/mac80211/main.c 		local->hw.wiphy->bands[band] = sband;
sband              65 net/mac80211/mesh.c 	struct ieee80211_supported_band *sband;
sband              86 net/mac80211/mesh.c 	sband = ieee80211_get_sband(sdata);
sband              87 net/mac80211/mesh.c 	if (!sband)
sband              90 net/mac80211/mesh.c 	ieee80211_sta_get_rates(sdata, ie, sband->band,
sband             411 net/mac80211/mesh.c 	struct ieee80211_supported_band *sband;
sband             414 net/mac80211/mesh.c 	sband = ieee80211_get_sband(sdata);
sband             415 net/mac80211/mesh.c 	if (!sband)
sband             418 net/mac80211/mesh.c 	if (!sband->ht_cap.ht_supported ||
sband             428 net/mac80211/mesh.c 	ieee80211_ie_build_ht_cap(pos, &sband->ht_cap, sband->ht_cap.cap);
sband             439 net/mac80211/mesh.c 	struct ieee80211_supported_band *sband;
sband             452 net/mac80211/mesh.c 	sband = local->hw.wiphy->bands[channel->band];
sband             453 net/mac80211/mesh.c 	ht_cap = &sband->ht_cap;
sband             475 net/mac80211/mesh.c 	struct ieee80211_supported_band *sband;
sband             478 net/mac80211/mesh.c 	sband = ieee80211_get_sband(sdata);
sband             479 net/mac80211/mesh.c 	if (!sband)
sband             482 net/mac80211/mesh.c 	if (!sband->vht_cap.vht_supported ||
sband             492 net/mac80211/mesh.c 	ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, sband->vht_cap.cap);
sband             503 net/mac80211/mesh.c 	struct ieee80211_supported_band *sband;
sband             516 net/mac80211/mesh.c 	sband = local->hw.wiphy->bands[channel->band];
sband             517 net/mac80211/mesh.c 	vht_cap = &sband->vht_cap;
sband             539 net/mac80211/mesh.c 	struct ieee80211_supported_band *sband;
sband             542 net/mac80211/mesh.c 	sband = ieee80211_get_sband(sdata);
sband             543 net/mac80211/mesh.c 	if (!sband)
sband             546 net/mac80211/mesh.c 	he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT);
sband             567 net/mac80211/mesh.c 	struct ieee80211_supported_band *sband;
sband             570 net/mac80211/mesh.c 	sband = ieee80211_get_sband(sdata);
sband             571 net/mac80211/mesh.c 	if (!sband)
sband             574 net/mac80211/mesh.c 	he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT);
sband            1045 net/mac80211/mesh.c 	struct ieee80211_supported_band *sband;
sband            1051 net/mac80211/mesh.c 	sband = ieee80211_get_sband(sdata);
sband            1052 net/mac80211/mesh.c 	if (!sband)
sband            1071 net/mac80211/mesh.c 	err = ieee80211_parse_ch_switch_ie(sdata, elems, sband->band,
sband              96 net/mac80211/mesh_plink.c 	struct ieee80211_supported_band *sband;
sband             102 net/mac80211/mesh_plink.c 	sband = ieee80211_get_sband(sdata);
sband             103 net/mac80211/mesh_plink.c 	if (!sband)
sband             106 net/mac80211/mesh_plink.c 	if (sband->band == NL80211_BAND_5GHZ) {
sband             110 net/mac80211/mesh_plink.c 	} else if (sband->band != NL80211_BAND_2GHZ) {
sband             114 net/mac80211/mesh_plink.c 	for (i = 0; i < sband->n_bitrates; i++)
sband             115 net/mac80211/mesh_plink.c 		if (sband->bitrates[i].flags & IEEE80211_RATE_ERP_G)
sband             128 net/mac80211/mesh_plink.c 		if (erp_rates & sta->sta.supp_rates[sband->band])
sband             257 net/mac80211/mesh_plink.c 		struct ieee80211_supported_band *sband;
sband             260 net/mac80211/mesh_plink.c 		sband = ieee80211_get_sband(sdata);
sband             261 net/mac80211/mesh_plink.c 		if (!sband) {
sband             265 net/mac80211/mesh_plink.c 		band = sband->band;
sband             412 net/mac80211/mesh_plink.c 	struct ieee80211_supported_band *sband;
sband             416 net/mac80211/mesh_plink.c 	sband = ieee80211_get_sband(sdata);
sband             417 net/mac80211/mesh_plink.c 	if (!sband)
sband             420 net/mac80211/mesh_plink.c 	rates = ieee80211_sta_get_rates(sdata, elems, sband->band,
sband             432 net/mac80211/mesh_plink.c 	if (sta->sta.supp_rates[sband->band] != rates)
sband             434 net/mac80211/mesh_plink.c 	sta->sta.supp_rates[sband->band] = rates;
sband             436 net/mac80211/mesh_plink.c 	if (ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
sband             440 net/mac80211/mesh_plink.c 	ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
sband             443 net/mac80211/mesh_plink.c 	ieee80211_he_cap_ie_to_sta_he_cap(sdata, sband, elems->he_cap,
sband             461 net/mac80211/mesh_plink.c 		rate_control_rate_update(local, sband, sta, changed);
sband             146 net/mac80211/mlme.c 			     struct ieee80211_supported_band *sband,
sband             158 net/mac80211/mlme.c 	memcpy(&sta_ht_cap, &sband->ht_cap, sizeof(sta_ht_cap));
sband             203 net/mac80211/mlme.c 	if (!vht_oper || !sband->vht_cap.vht_supported) {
sband             330 net/mac80211/mlme.c 	struct ieee80211_supported_band *sband =
sband             348 net/mac80211/mlme.c 	    !ieee80211_get_he_sta_cap(sband))
sband             365 net/mac80211/mlme.c 	flags = ieee80211_determine_chantype(sdata, sband, chan,
sband             430 net/mac80211/mlme.c 		rate_control_rate_update(local, sband, sta,
sband             444 net/mac80211/mlme.c 		rate_control_rate_update(local, sband, sta,
sband             455 net/mac80211/mlme.c 				struct ieee80211_supported_band *sband,
sband             464 net/mac80211/mlme.c 	BUILD_BUG_ON(sizeof(ht_cap) != sizeof(sband->ht_cap));
sband             466 net/mac80211/mlme.c 	memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap));
sband             529 net/mac80211/mlme.c 				 struct ieee80211_supported_band *sband,
sband             538 net/mac80211/mlme.c 	BUILD_BUG_ON(sizeof(vht_cap) != sizeof(sband->vht_cap));
sband             540 net/mac80211/mlme.c 	memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap));
sband             615 net/mac80211/mlme.c 				struct ieee80211_supported_band *sband)
sband             621 net/mac80211/mlme.c 	he_cap = ieee80211_get_he_sta_cap(sband);
sband             649 net/mac80211/mlme.c 	struct ieee80211_supported_band *sband;
sband             664 net/mac80211/mlme.c 	sband = local->hw.wiphy->bands[chan->band];
sband             674 net/mac80211/mlme.c 		rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband,
sband             685 net/mac80211/mlme.c 		for (i = 0; i < sband->n_bitrates; i++) {
sband             696 net/mac80211/mlme.c 			2 + 2 * sband->n_channels + /* supported channels */
sband             713 net/mac80211/mlme.c 	if (sband->band == NL80211_BAND_2GHZ) {
sband             768 net/mac80211/mlme.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband             770 net/mac80211/mlme.c 			int rate = DIV_ROUND_UP(sband->bitrates[i].bitrate,
sband             783 net/mac80211/mlme.c 		for (i++; i < sband->n_bitrates; i++) {
sband             786 net/mac80211/mlme.c 				rate = DIV_ROUND_UP(sband->bitrates[i].bitrate,
sband             805 net/mac80211/mlme.c 		pos = skb_put(skb, 2 * sband->n_channels + 2);
sband             807 net/mac80211/mlme.c 		*pos++ = 2 * sband->n_channels;
sband             808 net/mac80211/mlme.c 		for (i = 0; i < sband->n_channels; i++) {
sband             810 net/mac80211/mlme.c 					sband->channels[i].center_freq);
sband             877 net/mac80211/mlme.c 				    sband, chan, sdata->smps_mode);
sband             930 net/mac80211/mlme.c 		ieee80211_add_vht_ie(sdata, skb, sband,
sband             938 net/mac80211/mlme.c 	    (sband->band == NL80211_BAND_5GHZ &&
sband             943 net/mac80211/mlme.c 		ieee80211_add_he_ie(sdata, skb, sband);
sband            1106 net/mac80211/mlme.c 		struct ieee80211_supported_band *sband = NULL;
sband            1149 net/mac80211/mlme.c 			sband =
sband            1156 net/mac80211/mlme.c 			rate_control_rate_update(local, sband, mgd_sta,
sband            1173 net/mac80211/mlme.c 			rate_control_rate_update(local, sband, mgd_sta,
sband            2094 net/mac80211/mlme.c 	struct ieee80211_supported_band *sband;
sband            2100 net/mac80211/mlme.c 	sband = ieee80211_get_sband(sdata);
sband            2101 net/mac80211/mlme.c 	if (!sband)
sband            2113 net/mac80211/mlme.c 	if (sband->band == NL80211_BAND_5GHZ)
sband            3108 net/mac80211/mlme.c static void ieee80211_get_rates(struct ieee80211_supported_band *sband,
sband            3136 net/mac80211/mlme.c 		for (j = 0; j < sband->n_bitrates; j++) {
sband            3140 net/mac80211/mlme.c 			br = &sband->bitrates[j];
sband            3189 net/mac80211/mlme.c 	struct ieee80211_supported_band *sband;
sband            3332 net/mac80211/mlme.c 	sband = ieee80211_get_sband(sdata);
sband            3333 net/mac80211/mlme.c 	if (!sband) {
sband            3350 net/mac80211/mlme.c 		ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
sband            3354 net/mac80211/mlme.c 		ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
sband            3359 net/mac80211/mlme.c 		ieee80211_he_cap_ie_to_sta_he_cap(sdata, sband,
sband            4675 net/mac80211/mlme.c ieee80211_verify_sta_he_mcs_support(struct ieee80211_supported_band *sband,
sband            4679 net/mac80211/mlme.c 		ieee80211_get_he_sta_cap(sband);
sband            4745 net/mac80211/mlme.c 	struct ieee80211_supported_band *sband;
sband            4751 net/mac80211/mlme.c 	sband = local->hw.wiphy->bands[cbss->channel->band];
sband            4760 net/mac80211/mlme.c 	    sband->ht_cap.ht_supported) {
sband            4778 net/mac80211/mlme.c 	    sband->vht_cap.vht_supported) {
sband            4800 net/mac80211/mlme.c 	if (!ieee80211_get_he_sta_cap(sband))
sband            4816 net/mac80211/mlme.c 		if (!ieee80211_verify_sta_he_mcs_support(sband, he_oper))
sband            4822 net/mac80211/mlme.c 	for (i = 0; i < sband->n_channels; i++) {
sband            4823 net/mac80211/mlme.c 		if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
sband            4834 net/mac80211/mlme.c 	ifmgd->flags |= ieee80211_determine_chantype(sdata, sband,
sband            4913 net/mac80211/mlme.c 	struct ieee80211_supported_band *sband;
sband            4917 net/mac80211/mlme.c 	sband = local->hw.wiphy->bands[cbss->channel->band];
sband            4958 net/mac80211/mlme.c 		ieee80211_get_rates(sband, bss->supp_rates,
sband            5222 net/mac80211/mlme.c 	struct ieee80211_supported_band *sband;
sband            5302 net/mac80211/mlme.c 	sband = local->hw.wiphy->bands[req->bss->channel->band];
sband            5303 net/mac80211/mlme.c 	if (!sband->ht_cap.ht_supported ||
sband            5314 net/mac80211/mlme.c 	if (!sband->vht_cap.vht_supported ||
sband            5436 net/mac80211/mlme.c 		memcpy(&sta_ht_cap, &sband->ht_cap, sizeof(sta_ht_cap));
sband            5441 net/mac80211/mlme.c 		    sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 &&
sband              45 net/mac80211/ocb.c 	struct ieee80211_supported_band *sband;
sband              76 net/mac80211/ocb.c 	sband = local->hw.wiphy->bands[band];
sband              78 net/mac80211/ocb.c 		ieee80211_mandatory_rates(sband, scan_width);
sband              36 net/mac80211/rate.c 	struct ieee80211_supported_band *sband;
sband              52 net/mac80211/rate.c 	sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band];
sband              55 net/mac80211/rate.c 	ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista,
sband              63 net/mac80211/rate.c 			    struct ieee80211_supported_band *sband,
sband              75 net/mac80211/rate.c 		ref->ops->tx_status_ext(ref->priv, sband, priv_sta, st);
sband              77 net/mac80211/rate.c 		ref->ops->tx_status(ref->priv, sband, st->sta, priv_sta, st->skb);
sband              85 net/mac80211/rate.c 				    struct ieee80211_supported_band *sband,
sband             103 net/mac80211/rate.c 		ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def,
sband             262 net/mac80211/rate.c 	struct ieee80211_supported_band *sband;
sband             274 net/mac80211/rate.c 	sband = local->hw.wiphy->bands[band];
sband             282 net/mac80211/rate.c 	sdata->rc_rateidx_mask[band] = (1 << sband->n_bitrates) - 1;
sband             300 net/mac80211/rate.c 				  struct ieee80211_supported_band *sband)
sband             311 net/mac80211/rate.c 	for (i = *idx + 1; i <= sband->n_bitrates; i++) {
sband             322 net/mac80211/rate.c 				    struct ieee80211_supported_band *sband,
sband             331 net/mac80211/rate.c 	if ((sband->band == NL80211_BAND_2GHZ) &&
sband             336 net/mac80211/rate.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband             340 net/mac80211/rate.c 		if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
sband             343 net/mac80211/rate.c 		if (!rate_supported(sta, sband->band, i))
sband             349 net/mac80211/rate.c 	WARN_ONCE(i == sband->n_bitrates,
sband             352 net/mac80211/rate.c 		  sta ? sta->supp_rates[sband->band] : -1,
sband             353 net/mac80211/rate.c 		  sband->band,
sband             368 net/mac80211/rate.c 	struct ieee80211_supported_band *sband = txrc->sband;
sband             374 net/mac80211/rate.c 		__rate_control_send_low(txrc->hw, sband, pubsta, info,
sband             378 net/mac80211/rate.c 			mcast_rate = txrc->bss_conf->mcast_rate[sband->band];
sband             393 net/mac80211/rate.c 					      sband);
sband             500 net/mac80211/rate.c 				struct ieee80211_supported_band *sband,
sband             527 net/mac80211/rate.c 		if (rate_idx_match_legacy_mask(rate_idx, sband->n_bitrates,
sband             541 net/mac80211/rate.c 		if (rate_idx_match_legacy_mask(rate_idx, sband->n_bitrates,
sband             546 net/mac80211/rate.c 		if (rate_idx_match_legacy_mask(rate_idx, sband->n_bitrates,
sband             585 net/mac80211/rate.c 				struct ieee80211_supported_band *sband,
sband             607 net/mac80211/rate.c 		rate = &sband->bitrates[rates[0].idx];
sband             609 net/mac80211/rate.c 		for (i = 0; i < sband->n_bitrates; i++) {
sband             614 net/mac80211/rate.c 			if (sband->bitrates[i].bitrate > rate->bitrate)
sband             617 net/mac80211/rate.c 			if (sband->bitrates[baserate].bitrate <
sband             618 net/mac80211/rate.c 			     sband->bitrates[i].bitrate)
sband             666 net/mac80211/rate.c 		if (WARN_ON_ONCE(rates[i].idx >= sband->n_bitrates)) {
sband             671 net/mac80211/rate.c 		rate = &sband->bitrates[rates[i].idx];
sband             726 net/mac80211/rate.c 				  struct ieee80211_supported_band *sband,
sband             733 net/mac80211/rate.c 	*mask = sdata->rc_rateidx_mask[sband->band];
sband             735 net/mac80211/rate.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband             736 net/mac80211/rate.c 		if ((flags & sband->bitrates[i].flags) != flags)
sband             740 net/mac80211/rate.c 	if (*mask == (1 << sband->n_bitrates) - 1 &&
sband             741 net/mac80211/rate.c 	    !sdata->rc_has_mcs_mask[sband->band] &&
sband             742 net/mac80211/rate.c 	    !sdata->rc_has_vht_mcs_mask[sband->band])
sband             745 net/mac80211/rate.c 	if (sdata->rc_has_mcs_mask[sband->band])
sband             746 net/mac80211/rate.c 		memcpy(mcs_mask, sdata->rc_rateidx_mcs_mask[sband->band],
sband             751 net/mac80211/rate.c 	if (sdata->rc_has_vht_mcs_mask[sband->band])
sband             752 net/mac80211/rate.c 		memcpy(vht_mask, sdata->rc_rateidx_vht_mcs_mask[sband->band],
sband             762 net/mac80211/rate.c 		*mask &= sta->supp_rates[sband->band];
sband             777 net/mac80211/rate.c 				struct ieee80211_supported_band *sband,
sband             786 net/mac80211/rate.c 	if (!rate_control_cap_mask(sta->sdata, sband, &sta->sta, &mask,
sband             796 net/mac80211/rate.c 				    sband, chan_width, mask, mcs_mask,
sband             803 net/mac80211/rate.c 				    struct ieee80211_supported_band *sband,
sband             818 net/mac80211/rate.c 	if (!rate_control_cap_mask(sdata, sband, sta, &mask, mcs_mask,
sband             834 net/mac80211/rate.c 		rate_idx_match_mask(&rates[i].idx, &rate_flags, sband,
sband             849 net/mac80211/rate.c 	struct ieee80211_supported_band *sband;
sband             857 net/mac80211/rate.c 	sband = sdata->local->hw.wiphy->bands[info->band];
sband             860 net/mac80211/rate.c 		rate_control_apply_mask(sdata, sta, sband, dest, max_rates);
sband             863 net/mac80211/rate.c 		__rate_control_send_low(&sdata->local->hw, sband, sta, info,
sband             867 net/mac80211/rate.c 		rate_fixup_ratelist(vif, sband, info, dest, max_rates);
sband             920 net/mac80211/rate.c 	struct ieee80211_supported_band *sband;
sband             922 net/mac80211/rate.c 	sband = ieee80211_get_sband(sta->sdata);
sband             923 net/mac80211/rate.c 	if (!sband)
sband             925 net/mac80211/rate.c 	rate_control_apply_mask_ratetbl(sta, sband, rates);
sband              29 net/mac80211/rate.h 			    struct ieee80211_supported_band *sband,
sband              34 net/mac80211/rate.h 				    struct ieee80211_supported_band *sband,
sband             260 net/mac80211/rc80211_minstrel.c minstrel_tx_status(void *priv, struct ieee80211_supported_band *sband,
sband             475 net/mac80211/rc80211_minstrel.c minstrel_rate_init(void *priv, struct ieee80211_supported_band *sband,
sband             487 net/mac80211/rc80211_minstrel.c 	mi->lowest_rix = rate_lowest_index(sband, sta);
sband             488 net/mac80211/rc80211_minstrel.c 	ctl_rate = &sband->bitrates[mi->lowest_rix];
sband             489 net/mac80211/rc80211_minstrel.c 	mi->sp_ack_dur = ieee80211_frame_duration(sband->band, 10,
sband             498 net/mac80211/rc80211_minstrel.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband             506 net/mac80211/rc80211_minstrel.c 		if (!rate_supported(sta, sband->band, i))
sband             508 net/mac80211/rc80211_minstrel.c 		if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
sband             517 net/mac80211/rc80211_minstrel.c 		mr->bitrate = DIV_ROUND_UP(sband->bitrates[i].bitrate,
sband             519 net/mac80211/rc80211_minstrel.c 		calc_rate_durations(sband->band, mr, &sband->bitrates[i],
sband             549 net/mac80211/rc80211_minstrel.c 		if (!(sband->bitrates[i].flags & IEEE80211_RATE_ERP_G))
sband             553 net/mac80211/rc80211_minstrel.c 	for (i = n; i < sband->n_bitrates; i++) {
sband             883 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_tx_status(void *priv, struct ieee80211_supported_band *sband,
sband             897 net/mac80211/rc80211_minstrel_ht.c 		return mac80211_minstrel.tx_status_ext(priv, sband,
sband            1356 net/mac80211/rc80211_minstrel_ht.c 		       struct ieee80211_supported_band *sband,
sband            1361 net/mac80211/rc80211_minstrel_ht.c 	if (sband->band != NL80211_BAND_2GHZ)
sband            1370 net/mac80211/rc80211_minstrel_ht.c 		if (!rate_supported(sta, sband->band, mp->cck_rates[i]))
sband            1374 net/mac80211/rc80211_minstrel_ht.c 		if (sband->bitrates[i].flags & IEEE80211_RATE_SHORT_PREAMBLE)
sband            1382 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband,
sband            1416 net/mac80211/rc80211_minstrel_ht.c 	ack_dur = ieee80211_frame_duration(sband->band, 10, 60, 1, 1, 0);
sband            1417 net/mac80211/rc80211_minstrel_ht.c 	mi->overhead = ieee80211_frame_duration(sband->band, 0, 60, 1, 1, 0);
sband            1455 net/mac80211/rc80211_minstrel_ht.c 			minstrel_ht_update_cck(mp, mi, sband, sta);
sband            1534 net/mac80211/rc80211_minstrel_ht.c 	return mac80211_minstrel.rate_init(priv, sband, chandef, sta,
sband            1539 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_rate_init(void *priv, struct ieee80211_supported_band *sband,
sband            1543 net/mac80211/rc80211_minstrel_ht.c 	minstrel_ht_update_caps(priv, sband, chandef, sta, priv_sta);
sband            1547 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_rate_update(void *priv, struct ieee80211_supported_band *sband,
sband            1552 net/mac80211/rc80211_minstrel_ht.c 	minstrel_ht_update_caps(priv, sband, chandef, sta, priv_sta);
sband            1558 net/mac80211/rc80211_minstrel_ht.c 	struct ieee80211_supported_band *sband;
sband            1566 net/mac80211/rc80211_minstrel_ht.c 		sband = hw->wiphy->bands[i];
sband            1567 net/mac80211/rc80211_minstrel_ht.c 		if (sband && sband->n_bitrates > max_rates)
sband            1568 net/mac80211/rc80211_minstrel_ht.c 			max_rates = sband->n_bitrates;
sband            1606 net/mac80211/rc80211_minstrel_ht.c 	struct ieee80211_supported_band *sband;
sband            1610 net/mac80211/rc80211_minstrel_ht.c 	sband = mp->hw->wiphy->bands[NL80211_BAND_2GHZ];
sband            1611 net/mac80211/rc80211_minstrel_ht.c 	if (!sband)
sband            1614 net/mac80211/rc80211_minstrel_ht.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband            1615 net/mac80211/rc80211_minstrel_ht.c 		struct ieee80211_rate *rate = &sband->bitrates[i];
sband            1620 net/mac80211/rc80211_minstrel_ht.c 		if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
sband            3081 net/mac80211/rx.c 			struct ieee80211_supported_band *sband;
sband            3108 net/mac80211/rx.c 			sband = rx->local->hw.wiphy->bands[status->band];
sband            3110 net/mac80211/rx.c 			rate_control_rate_update(local, sband, rx->sta,
sband            3119 net/mac80211/rx.c 			struct ieee80211_supported_band *sband;
sband            3142 net/mac80211/rx.c 			sband = rx->local->hw.wiphy->bands[status->band];
sband            3147 net/mac80211/rx.c 			rate_control_rate_update(local, sband, rx->sta,
sband            3589 net/mac80211/rx.c 		struct ieee80211_supported_band *sband;
sband            3594 net/mac80211/rx.c 		sband = rx->local->hw.wiphy->bands[status->band];
sband            3596 net/mac80211/rx.c 			rate = &sband->bitrates[status->rate_idx];
sband            4524 net/mac80211/rx.c 	struct ieee80211_supported_band *sband;
sband            4532 net/mac80211/rx.c 	sband = local->hw.wiphy->bands[status->band];
sband            4533 net/mac80211/rx.c 	if (WARN_ON(!sband))
sband            4603 net/mac80211/rx.c 			if (WARN_ON(status->rate_idx >= sband->n_bitrates))
sband            4605 net/mac80211/rx.c 			rate = &sband->bitrates[status->rate_idx];
sband             128 net/mac80211/scan.c 		struct ieee80211_supported_band *sband =
sband             133 net/mac80211/scan.c 				&sband->bitrates[rx_status->rate_idx];
sband             449 net/mac80211/sta_info.c 		struct ieee80211_supported_band *sband;
sband             452 net/mac80211/sta_info.c 		sband = ieee80211_get_sband(sdata);
sband             453 net/mac80211/sta_info.c 		if (!sband)
sband             456 net/mac80211/sta_info.c 		smps = (sband->ht_cap.cap & IEEE80211_HT_CAP_SM_PS) >>
sband            2079 net/mac80211/sta_info.c 		struct ieee80211_supported_band *sband;
sband            2085 net/mac80211/sta_info.c 		sband = local->hw.wiphy->bands[band];
sband            2086 net/mac80211/sta_info.c 		brate = sband->bitrates[rate_idx].bitrate;
sband             302 net/mac80211/status.c 				 struct ieee80211_supported_band *sband,
sband             342 net/mac80211/status.c 			sband->bitrates[info->status.rates[0].idx].bitrate;
sband             805 net/mac80211/status.c 			  struct ieee80211_supported_band *sband,
sband             822 net/mac80211/status.c 	ieee80211_add_tx_radiotap_header(local, sband, skb, retry_count,
sband             871 net/mac80211/status.c 	struct ieee80211_supported_band *sband;
sband             882 net/mac80211/status.c 	sband = local->hw.wiphy->bands[info->band];
sband             970 net/mac80211/status.c 		rate_control_tx_status(local, sband, status);
sband            1064 net/mac80211/status.c 	ieee80211_tx_monitor(local, skb, sband, retry_count, shift,
sband            1101 net/mac80211/status.c 	struct ieee80211_supported_band *sband;
sband            1113 net/mac80211/status.c 	sband = hw->wiphy->bands[info->band];
sband            1142 net/mac80211/status.c 		rate_control_tx_status(local, sband, status);
sband            1166 net/mac80211/status.c 	struct ieee80211_supported_band *sband = hw->wiphy->bands[info->band];
sband            1173 net/mac80211/status.c 	rate_control_tx_status(local, sband, &status);
sband              53 net/mac80211/tdls.c 	struct ieee80211_supported_band *sband = ieee80211_get_sband(sdata);
sband              54 net/mac80211/tdls.c 	bool vht = sband && sband->vht_cap.vht_supported;
sband             186 net/mac80211/tdls.c 	struct ieee80211_supported_band *sband;
sband             192 net/mac80211/tdls.c 	sband = ieee80211_get_sband(sdata);
sband             193 net/mac80211/tdls.c 	if (sband && sband->band == NL80211_BAND_2GHZ) {
sband             367 net/mac80211/tdls.c 	struct ieee80211_supported_band *sband;
sband             375 net/mac80211/tdls.c 	sband = ieee80211_get_sband(sdata);
sband             376 net/mac80211/tdls.c 	if (!sband)
sband             379 net/mac80211/tdls.c 	ieee80211_add_srates_ie(sdata, skb, false, sband->band);
sband             380 net/mac80211/tdls.c 	ieee80211_add_ext_srates_ie(sdata, skb, false, sband->band);
sband             449 net/mac80211/tdls.c 	memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap));
sband             501 net/mac80211/tdls.c 	memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap));
sband             552 net/mac80211/tdls.c 	struct ieee80211_supported_band *sband;
sband             555 net/mac80211/tdls.c 	sband = ieee80211_get_sband(sdata);
sband             556 net/mac80211/tdls.c 	if (!sband)
sband             621 net/mac80211/tdls.c 	if (sband->band != NL80211_BAND_2GHZ &&
sband            1255 net/mac80211/tdls.c 	struct ieee80211_supported_band *sband;
sband            1262 net/mac80211/tdls.c 		sband = local->hw.wiphy->bands[conf->def.chan->band];
sband            1275 net/mac80211/tdls.c 				rate_control_rate_update(local, sband, sta,
sband              58 net/mac80211/tx.c 	struct ieee80211_supported_band *sband;
sband              80 net/mac80211/tx.c 	sband = local->hw.wiphy->bands[info->band];
sband              81 net/mac80211/tx.c 	txrate = &sband->bitrates[tx->rate.idx];
sband             140 net/mac80211/tx.c 	mrate = sband->bitrates[0].bitrate;
sband             141 net/mac80211/tx.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband             142 net/mac80211/tx.c 		struct ieee80211_rate *r = &sband->bitrates[i];
sband             153 net/mac80211/tx.c 		switch (sband->band) {
sband             190 net/mac80211/tx.c 		dur = ieee80211_frame_duration(sband->band, 10, rate, erp,
sband             199 net/mac80211/tx.c 		dur += ieee80211_frame_duration(sband->band, next_frag_len,
sband             673 net/mac80211/tx.c 	struct ieee80211_supported_band *sband;
sband             681 net/mac80211/tx.c 	sband = tx->local->hw.wiphy->bands[info->band];
sband             688 net/mac80211/tx.c 	txrc.sband = sband;
sband             736 net/mac80211/tx.c 		 !rate_usable_index_exists(sband, &tx->sta->sta),
sband            1546 net/mac80211/tx.c 		struct ieee80211_supported_band *sband;
sband            1548 net/mac80211/tx.c 		sband = local->hw.wiphy->bands[band];
sband            1549 net/mac80211/tx.c 		if (!sband)
sband            1552 net/mac80211/tx.c 		supp_vht = supp_vht || sband->vht_cap.vht_supported;
sband            2032 net/mac80211/tx.c 	struct ieee80211_supported_band *sband =
sband            2180 net/mac80211/tx.c 			for (i = 0; i < sband->n_bitrates; i++) {
sband            2181 net/mac80211/tx.c 				if (rate * 5 != sband->bitrates[i].bitrate)
sband            4625 net/mac80211/tx.c 	txrc.sband = local->hw.wiphy->bands[band];
sband            4660 net/mac80211/tx.c 	struct ieee80211_supported_band *sband;
sband            4682 net/mac80211/tx.c 	sband = ieee80211_get_sband(vif_to_sdata(vif));
sband            4683 net/mac80211/tx.c 	if (!sband)
sband            4686 net/mac80211/tx.c 	ieee80211_tx_monitor(hw_to_local(hw), copy, sband, 1, shift, false,
sband             165 net/mac80211/util.c 	struct ieee80211_supported_band *sband;
sband             167 net/mac80211/util.c 	sband = local->hw.wiphy->bands[frame_txctl->band];
sband             171 net/mac80211/util.c 	rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
sband             185 net/mac80211/util.c 	dur = ieee80211_frame_duration(sband->band, 10, bitrate,
sband             188 net/mac80211/util.c 	dur += ieee80211_frame_duration(sband->band, frame_len, bitrate,
sband             191 net/mac80211/util.c 	dur += ieee80211_frame_duration(sband->band, 10, bitrate,
sband             209 net/mac80211/util.c 	struct ieee80211_supported_band *sband;
sband             211 net/mac80211/util.c 	sband = local->hw.wiphy->bands[frame_txctl->band];
sband             215 net/mac80211/util.c 	rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
sband             228 net/mac80211/util.c 	dur = ieee80211_frame_duration(sband->band, frame_len, bitrate,
sband             232 net/mac80211/util.c 		dur += ieee80211_frame_duration(sband->band, 10, bitrate,
sband            1641 net/mac80211/util.c 	struct ieee80211_supported_band *sband;
sband            1655 net/mac80211/util.c 	sband = local->hw.wiphy->bands[band];
sband            1656 net/mac80211/util.c 	if (WARN_ON_ONCE(!sband))
sband            1663 net/mac80211/util.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband            1666 net/mac80211/util.c 		if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
sband            1670 net/mac80211/util.c 			(u8) DIV_ROUND_UP(sband->bitrates[i].bitrate,
sband            1711 net/mac80211/util.c 	if (chandef->chan && sband->band == NL80211_BAND_2GHZ) {
sband            1743 net/mac80211/util.c 	if (sband->ht_cap.ht_supported) {
sband            1746 net/mac80211/util.c 		pos = ieee80211_ie_build_ht_cap(pos, &sband->ht_cap,
sband            1747 net/mac80211/util.c 						sband->ht_cap.cap);
sband            1776 net/mac80211/util.c 	for (i = 0; i < sband->n_channels; i++) {
sband            1777 net/mac80211/util.c 		if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
sband            1785 net/mac80211/util.c 	if (sband->vht_cap.vht_supported && have_80mhz) {
sband            1788 net/mac80211/util.c 		pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap,
sband            1789 net/mac80211/util.c 						 sband->vht_cap.cap);
sband            1813 net/mac80211/util.c 	he_cap = ieee80211_get_he_sta_cap(sband);
sband            1930 net/mac80211/util.c 	struct ieee80211_supported_band *sband;
sband            1935 net/mac80211/util.c 	sband = sdata->local->hw.wiphy->bands[band];
sband            1936 net/mac80211/util.c 	if (WARN_ON(!sband))
sband            1942 net/mac80211/util.c 	num_rates = sband->n_bitrates;
sband            1962 net/mac80211/util.c 			if ((rate_flags & sband->bitrates[j].flags)
sband            1966 net/mac80211/util.c 			brate = DIV_ROUND_UP(sband->bitrates[j].bitrate,
sband            2725 net/mac80211/util.c 	struct ieee80211_supported_band *sband;
sband            2728 net/mac80211/util.c 	sband = ieee80211_get_sband(sdata);
sband            2729 net/mac80211/util.c 	if (!sband)
sband            2732 net/mac80211/util.c 	he_cap = ieee80211_get_he_iftype_cap(sband, iftype);
sband            3071 net/mac80211/util.c 			     const struct ieee80211_supported_band *sband,
sband            3084 net/mac80211/util.c 		for (j = 0; j < sband->n_bitrates; j++) {
sband            3085 net/mac80211/util.c 			br = &sband->bitrates[j];
sband            3105 net/mac80211/util.c 	struct ieee80211_supported_band *sband;
sband            3113 net/mac80211/util.c 	sband = local->hw.wiphy->bands[band];
sband            3115 net/mac80211/util.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband            3116 net/mac80211/util.c 		if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
sband            3131 net/mac80211/util.c 		if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
sband            3136 net/mac80211/util.c 		rate = DIV_ROUND_UP(sband->bitrates[i].bitrate,
sband            3149 net/mac80211/util.c 	struct ieee80211_supported_band *sband;
sband            3158 net/mac80211/util.c 	sband = local->hw.wiphy->bands[band];
sband            3160 net/mac80211/util.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband            3161 net/mac80211/util.c 		if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
sband            3178 net/mac80211/util.c 		for (i = 8; i < sband->n_bitrates; i++) {
sband            3180 net/mac80211/util.c 			if ((rate_flags & sband->bitrates[i].flags)
sband            3185 net/mac80211/util.c 			rate = DIV_ROUND_UP(sband->bitrates[i].bitrate,
sband            3268 net/mac80211/util.c 		struct ieee80211_supported_band *sband;
sband            3281 net/mac80211/util.c 		sband = local->hw.wiphy->bands[status->band];
sband            3282 net/mac80211/util.c 		bitrate = sband->bitrates[status->rate_idx].bitrate;
sband             117 net/mac80211/vht.c 				    struct ieee80211_supported_band *sband,
sband             131 net/mac80211/vht.c 	if (!vht_cap_ie || !sband->vht_cap.vht_supported)
sband             136 net/mac80211/vht.c 	for (i = 0; i < sband->n_channels; i++) {
sband             137 net/mac80211/vht.c 		if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
sband             157 net/mac80211/vht.c 	own_cap = sband->vht_cap;
sband             596 net/mac80211/vht.c 	struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band];
sband             602 net/mac80211/vht.c 		rate_control_rate_update(local, sband, sta, changed);
sband             651 net/wireless/core.c 	struct ieee80211_supported_band *sband;
sband             792 net/wireless/core.c 		sband = wiphy->bands[band];
sband             793 net/wireless/core.c 		if (!sband)
sband             796 net/wireless/core.c 		sband->band = band;
sband             797 net/wireless/core.c 		if (WARN_ON(!sband->n_channels))
sband             804 net/wireless/core.c 			    !sband->n_bitrates))
sband             814 net/wireless/core.c 		    sband->ht_cap.ht_supported) {
sband             815 net/wireless/core.c 			sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
sband             816 net/wireless/core.c 			sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SGI_40;
sband             824 net/wireless/core.c 		if (WARN_ON(sband->n_bitrates > 32))
sband             827 net/wireless/core.c 		for (i = 0; i < sband->n_channels; i++) {
sband             828 net/wireless/core.c 			sband->channels[i].orig_flags =
sband             829 net/wireless/core.c 				sband->channels[i].flags;
sband             830 net/wireless/core.c 			sband->channels[i].orig_mag = INT_MAX;
sband             831 net/wireless/core.c 			sband->channels[i].orig_mpwr =
sband             832 net/wireless/core.c 				sband->channels[i].max_power;
sband             833 net/wireless/core.c 			sband->channels[i].band = band;
sband             836 net/wireless/core.c 		for (i = 0; i < sband->n_iftype_data; i++) {
sband             839 net/wireless/core.c 			iftd = &sband->iftype_data[i];
sband             515 net/wireless/core.h int ieee80211_get_ratemask(struct ieee80211_supported_band *sband,
sband              70 net/wireless/debugfs.c 	struct ieee80211_supported_band *sband;
sband              79 net/wireless/debugfs.c 		sband = wiphy->bands[band];
sband              80 net/wireless/debugfs.c 		if (!sband)
sband              82 net/wireless/debugfs.c 		for (i = 0; i < sband->n_channels; i++)
sband              83 net/wireless/debugfs.c 			offset += ht_print_chan(&sband->channels[i],
sband             107 net/wireless/ibss.c 		struct ieee80211_supported_band *sband;
sband             119 net/wireless/ibss.c 		sband = rdev->wiphy.bands[band];
sband             120 net/wireless/ibss.c 		for (j = 0; j < sband->n_bitrates; j++) {
sband             121 net/wireless/ibss.c 			if (sband->bitrates[j].flags & flag)
sband             254 net/wireless/ibss.c 			struct ieee80211_supported_band *sband;
sband             257 net/wireless/ibss.c 			sband = rdev->wiphy.bands[band];
sband             258 net/wireless/ibss.c 			if (!sband)
sband             261 net/wireless/ibss.c 			for (i = 0; i < sband->n_channels; i++) {
sband             262 net/wireless/ibss.c 				chan = &sband->channels[i];
sband             135 net/wireless/mesh.c 			struct ieee80211_supported_band *sband;
sband             139 net/wireless/mesh.c 			sband = rdev->wiphy.bands[band];
sband             140 net/wireless/mesh.c 			if (!sband)
sband             143 net/wireless/mesh.c 			for (i = 0; i < sband->n_channels; i++) {
sband             144 net/wireless/mesh.c 				chan = &sband->channels[i];
sband             171 net/wireless/mesh.c 		struct ieee80211_supported_band *sband =
sband             184 net/wireless/mesh.c 			for (i = 0; i < sband->n_bitrates; i++) {
sband             185 net/wireless/mesh.c 				if (sband->bitrates[i].bitrate == 10) {
sband             192 net/wireless/mesh.c 			setup->basic_rates = ieee80211_mandatory_rates(sband,
sband             768 net/wireless/mlme.c 	struct ieee80211_supported_band *sband;
sband             783 net/wireless/mlme.c 		sband = wiphy->bands[bandid];
sband             784 net/wireless/mlme.c 		if (!sband)
sband             787 net/wireless/mlme.c 		for (i = 0; i < sband->n_channels; i++) {
sband             788 net/wireless/mlme.c 			c = &sband->channels[i];
sband            1566 net/wireless/nl80211.c 				      struct ieee80211_supported_band *sband)
sband            1573 net/wireless/nl80211.c 	if (sband->ht_cap.ht_supported &&
sband            1575 net/wireless/nl80211.c 		     sizeof(sband->ht_cap.mcs),
sband            1576 net/wireless/nl80211.c 		     &sband->ht_cap.mcs) ||
sband            1578 net/wireless/nl80211.c 			 sband->ht_cap.cap) ||
sband            1580 net/wireless/nl80211.c 			sband->ht_cap.ampdu_factor) ||
sband            1582 net/wireless/nl80211.c 			sband->ht_cap.ampdu_density)))
sband            1586 net/wireless/nl80211.c 	if (sband->vht_cap.vht_supported &&
sband            1588 net/wireless/nl80211.c 		     sizeof(sband->vht_cap.vht_mcs),
sband            1589 net/wireless/nl80211.c 		     &sband->vht_cap.vht_mcs) ||
sband            1591 net/wireless/nl80211.c 			 sband->vht_cap.cap)))
sband            1594 net/wireless/nl80211.c 	if (sband->n_iftype_data) {
sband            1603 net/wireless/nl80211.c 		for (i = 0; i < sband->n_iftype_data; i++) {
sband            1611 net/wireless/nl80211.c 						       &sband->iftype_data[i]);
sband            1622 net/wireless/nl80211.c 	if (sband->edmg_cap.channels &&
sband            1624 net/wireless/nl80211.c 		       sband->edmg_cap.channels) ||
sband            1626 net/wireless/nl80211.c 		       sband->edmg_cap.bw_config)))
sband            1635 net/wireless/nl80211.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband            1640 net/wireless/nl80211.c 		rate = &sband->bitrates[i];
sband            2046 net/wireless/nl80211.c 			struct ieee80211_supported_band *sband;
sband            2048 net/wireless/nl80211.c 			sband = rdev->wiphy.bands[band];
sband            2050 net/wireless/nl80211.c 			if (!sband)
sband            2059 net/wireless/nl80211.c 				if (nl80211_send_band_rateinfo(msg, sband))
sband            2073 net/wireless/nl80211.c 				     i < sband->n_channels;
sband            2080 net/wireless/nl80211.c 					chan = &sband->channels[i];
sband            2091 net/wireless/nl80211.c 				if (i < sband->n_channels)
sband            4111 net/wireless/nl80211.c static u32 rateset_to_mask(struct ieee80211_supported_band *sband,
sband            4121 net/wireless/nl80211.c 		for (ridx = 0; ridx < sband->n_bitrates; ridx++) {
sband            4123 net/wireless/nl80211.c 				&sband->bitrates[ridx];
sband            4129 net/wireless/nl80211.c 		if (ridx == sband->n_bitrates)
sband            4136 net/wireless/nl80211.c static bool ht_rateset_to_mask(struct ieee80211_supported_band *sband,
sband            4156 net/wireless/nl80211.c 		if (sband->ht_cap.mcs.rx_mask[ridx] & rbit)
sband            4199 net/wireless/nl80211.c static bool vht_set_mcs_mask(struct ieee80211_supported_band *sband,
sband            4203 net/wireless/nl80211.c 	u16 tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map);
sband            4207 net/wireless/nl80211.c 	if (!sband->vht_cap.vht_supported)
sband            4244 net/wireless/nl80211.c 	struct ieee80211_supported_band *sband;
sband            4250 net/wireless/nl80211.c 		sband = rdev->wiphy.bands[i];
sband            4252 net/wireless/nl80211.c 		if (!sband)
sband            4255 net/wireless/nl80211.c 		mask->control[i].legacy = (1 << sband->n_bitrates) - 1;
sband            4257 net/wireless/nl80211.c 		       sband->ht_cap.mcs.rx_mask,
sband            4260 net/wireless/nl80211.c 		if (!sband->vht_cap.vht_supported)
sband            4263 net/wireless/nl80211.c 		vht_tx_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map);
sband            4281 net/wireless/nl80211.c 		sband = rdev->wiphy.bands[band];
sband            4282 net/wireless/nl80211.c 		if (sband == NULL)
sband            4292 net/wireless/nl80211.c 				sband,
sband            4301 net/wireless/nl80211.c 					sband,
sband            4309 net/wireless/nl80211.c 					sband,
sband            9411 net/wireless/nl80211.c 		struct ieee80211_supported_band *sband;
sband            9413 net/wireless/nl80211.c 		sband = wiphy->bands[band];
sband            9414 net/wireless/nl80211.c 		if (!sband)
sband            9417 net/wireless/nl80211.c 		for (i = 0; i < sband->n_bitrates; i++) {
sband            9418 net/wireless/nl80211.c 			if (sband->bitrates[i].bitrate == rateval) {
sband            9516 net/wireless/nl80211.c 		struct ieee80211_supported_band *sband =
sband            9519 net/wireless/nl80211.c 		err = ieee80211_get_ratemask(sband, rates, n_rates,
sband            11079 net/wireless/nl80211.c 		struct ieee80211_supported_band *sband;
sband            11084 net/wireless/nl80211.c 		sband = rdev->wiphy.bands[setup.chandef.chan->band];
sband            11086 net/wireless/nl80211.c 		err = ieee80211_get_ratemask(sband, rates, n_rates,
sband              52 net/wireless/of.c 		struct ieee80211_supported_band *sband = wiphy->bands[band];
sband              54 net/wireless/of.c 		if (!sband)
sband              57 net/wireless/of.c 		for (i = 0; i < sband->n_channels; i++) {
sband              58 net/wireless/of.c 			struct ieee80211_channel *chan = &sband->channels[i];
sband            1805 net/wireless/reg.c 			struct ieee80211_supported_band *sband)
sband            1809 net/wireless/reg.c 	if (!sband)
sband            1812 net/wireless/reg.c 	for (i = 0; i < sband->n_channels; i++)
sband            1813 net/wireless/reg.c 		handle_channel(wiphy, initiator, &sband->channels[i]);
sband            1929 net/wireless/reg.c 	struct ieee80211_supported_band *sband;
sband            1934 net/wireless/reg.c 	sband = wiphy->bands[reg_beacon->chan.band];
sband            1935 net/wireless/reg.c 	chan = &sband->channels[chan_idx];
sband            1970 net/wireless/reg.c 	struct ieee80211_supported_band *sband;
sband            1975 net/wireless/reg.c 	sband = wiphy->bands[reg_beacon->chan.band];
sband            1977 net/wireless/reg.c 	for (i = 0; i < sband->n_channels; i++)
sband            1987 net/wireless/reg.c 	struct ieee80211_supported_band *sband;
sband            1993 net/wireless/reg.c 		sband = wiphy->bands[reg_beacon->chan.band];
sband            1994 net/wireless/reg.c 		for (i = 0; i < sband->n_channels; i++)
sband            2026 net/wireless/reg.c 	struct ieee80211_supported_band *sband = wiphy->bands[channel->band];
sband            2041 net/wireless/reg.c 	for (i = 0; i < sband->n_channels; i++) {
sband            2042 net/wireless/reg.c 		struct ieee80211_channel *c = &sband->channels[i];
sband            2080 net/wireless/reg.c 				      struct ieee80211_supported_band *sband)
sband            2084 net/wireless/reg.c 	if (!sband)
sband            2087 net/wireless/reg.c 	for (i = 0; i < sband->n_channels; i++)
sband            2088 net/wireless/reg.c 		reg_process_ht_flags_channel(wiphy, &sband->channels[i]);
sband            2320 net/wireless/reg.c 			       struct ieee80211_supported_band *sband,
sband            2325 net/wireless/reg.c 	if (!sband)
sband            2333 net/wireless/reg.c 	for (i = 0; i < sband->n_channels; i++)
sband            2334 net/wireless/reg.c 		handle_channel_custom(wiphy, &sband->channels[i], regd,
sband            3134 net/wireless/reg.c 	struct ieee80211_supported_band *sband;
sband            3140 net/wireless/reg.c 		sband = wiphy->bands[band];
sband            3141 net/wireless/reg.c 		if (!sband)
sband            3143 net/wireless/reg.c 		for (i = 0; i < sband->n_channels; i++) {
sband            3144 net/wireless/reg.c 			chan = &sband->channels[i];
sband              89 net/wireless/sme.c 		struct ieee80211_supported_band *sband =
sband              92 net/wireless/sme.c 		if (!sband) {
sband              97 net/wireless/sme.c 		request->rates[band] = (1 << sband->n_bitrates) - 1;
sband              28 net/wireless/util.c ieee80211_get_response_rate(struct ieee80211_supported_band *sband,
sband              31 net/wireless/util.c 	struct ieee80211_rate *result = &sband->bitrates[0];
sband              34 net/wireless/util.c 	for (i = 0; i < sband->n_bitrates; i++) {
sband              37 net/wireless/util.c 		if (sband->bitrates[i].bitrate > bitrate)
sband              39 net/wireless/util.c 		result = &sband->bitrates[i];
sband              46 net/wireless/util.c u32 ieee80211_mandatory_rates(struct ieee80211_supported_band *sband,
sband              54 net/wireless/util.c 	if (WARN_ON(!sband))
sband              57 net/wireless/util.c 	if (sband->band == NL80211_BAND_2GHZ) {
sband              67 net/wireless/util.c 	bitrates = sband->bitrates;
sband              68 net/wireless/util.c 	for (i = 0; i < sband->n_bitrates; i++)
sband             134 net/wireless/util.c 	struct ieee80211_supported_band *sband;
sband             138 net/wireless/util.c 		sband = wiphy->bands[band];
sband             140 net/wireless/util.c 		if (!sband)
sband             143 net/wireless/util.c 		for (i = 0; i < sband->n_channels; i++) {
sband             144 net/wireless/util.c 			if (sband->channels[i].center_freq == freq)
sband             145 net/wireless/util.c 				return &sband->channels[i];
sband             153 net/wireless/util.c static void set_mandatory_flags_band(struct ieee80211_supported_band *sband)
sband             157 net/wireless/util.c 	switch (sband->band) {
sband             161 net/wireless/util.c 		for (i = 0; i < sband->n_bitrates; i++) {
sband             162 net/wireless/util.c 			if (sband->bitrates[i].bitrate == 60 ||
sband             163 net/wireless/util.c 			    sband->bitrates[i].bitrate == 120 ||
sband             164 net/wireless/util.c 			    sband->bitrates[i].bitrate == 240) {
sband             165 net/wireless/util.c 				sband->bitrates[i].flags |=
sband             174 net/wireless/util.c 		for (i = 0; i < sband->n_bitrates; i++) {
sband             175 net/wireless/util.c 			switch (sband->bitrates[i].bitrate) {
sband             180 net/wireless/util.c 				sband->bitrates[i].flags |=
sband             188 net/wireless/util.c 				sband->bitrates[i].flags |=
sband             193 net/wireless/util.c 				sband->bitrates[i].flags |=
sband             202 net/wireless/util.c 		WARN_ON(!sband->ht_cap.ht_supported);
sband             203 net/wireless/util.c 		WARN_ON((sband->ht_cap.mcs.rx_mask[0] & 0x1e) != 0x1e);
sband            1850 net/wireless/util.c int ieee80211_get_ratemask(struct ieee80211_supported_band *sband,
sband            1856 net/wireless/util.c 	if (!sband)
sband            1868 net/wireless/util.c 		for (j = 0; j < sband->n_bitrates; j++) {
sband            1869 net/wireless/util.c 			if (sband->bitrates[j].bitrate == rate) {
sband             186 net/wireless/wext-compat.c 		struct ieee80211_supported_band *sband;
sband             188 net/wireless/wext-compat.c 		sband = wdev->wiphy->bands[band];
sband             190 net/wireless/wext-compat.c 		if (!sband)
sband             193 net/wireless/wext-compat.c 		for (i = 0; i < sband->n_channels && c < IW_MAX_FREQUENCIES; i++) {
sband             194 net/wireless/wext-compat.c 			struct ieee80211_channel *chan = &sband->channels[i];
sband            1206 net/wireless/wext-compat.c 	struct ieee80211_supported_band *sband;
sband            1226 net/wireless/wext-compat.c 		sband = wdev->wiphy->bands[band];
sband            1227 net/wireless/wext-compat.c 		if (sband == NULL)
sband            1229 net/wireless/wext-compat.c 		for (ridx = 0; ridx < sband->n_bitrates; ridx++) {
sband            1230 net/wireless/wext-compat.c 			struct ieee80211_rate *srate = &sband->bitrates[ridx];