Searched refs:sband (Results 1 - 25 of 45) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/mac80211/
H A Drc80211_pid_algo.c72 static void rate_control_pid_adjust_rate(struct ieee80211_supported_band *sband, argument
80 band = sband->band;
81 n_bitrates = sband->n_bitrates;
124 sband->bitrates[spinfo->txrate_idx].bitrate);
146 struct ieee80211_supported_band *sband,
189 rate_control_pid_normalize(pinfo, sband->n_bitrates);
216 rate_control_pid_adjust_rate(sband, sta, spinfo, adj, rinfo);
219 static void rate_control_pid_tx_status(void *priv, struct ieee80211_supported_band *sband, argument
256 rate_control_pid_sample(pinfo, sband, sta, spinfo);
265 struct ieee80211_supported_band *sband local
145 rate_control_pid_sample(struct rc_pid_info *pinfo, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, struct rc_pid_sta_info *spinfo) argument
295 rate_control_pid_rate_init(void *priv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta) argument
340 struct ieee80211_supported_band *sband; local
[all...]
H A Drate.h36 struct ieee80211_supported_band *sband,
47 ref->ops->tx_status(ref->priv, sband, ista, priv_sta, skb);
57 struct ieee80211_supported_band *sband; local
62 sband = local->hw.wiphy->bands[local->hw.conf.channel->band];
64 ref->ops->rate_init(ref->priv, sband, ista, priv_sta);
68 struct ieee80211_supported_band *sband,
77 ref->ops->rate_update(ref->priv, sband, ista,
35 rate_control_tx_status(struct ieee80211_local *local, struct ieee80211_supported_band *sband, struct sta_info *sta, struct sk_buff *skb) argument
67 rate_control_rate_update(struct ieee80211_local *local, struct ieee80211_supported_band *sband, struct sta_info *sta, u32 changed, enum nl80211_channel_type oper_chan_type) argument
H A Dht.c21 void ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_supported_band *sband, argument
32 if (!ht_cap_ie || !sband->ht_cap.ht_supported)
44 (sband->ht_cap.cap |
55 if (!(sband->ht_cap.cap & IEEE80211_HT_CAP_TX_STBC))
57 if (!(sband->ht_cap.cap & IEEE80211_HT_CAP_RX_STBC))
67 tx_mcs_set_cap = sband->ht_cap.mcs.tx_params;
90 sband->ht_cap.mcs.rx_mask[i] & ht_cap_ie->mcs.rx_mask[i];
96 sband->ht_cap.mcs.rx_mask[i] &
100 if (sband->ht_cap.mcs.rx_mask[32/8] & ht_cap_ie->mcs.rx_mask[32/8] & 1)
H A Dwork.c83 struct ieee80211_supported_band *sband,
92 for (j = 0; j < sband->n_bitrates; j++)
93 if (sband->bitrates[j].bitrate == rate) {
106 struct ieee80211_supported_band *sband,
113 u16 cap = sband->ht_cap.cap;
116 if (!sband->ht_cap.ht_supported)
130 sband->band == IEEE80211_BAND_2GHZ) {
183 *pos++ = sband->ht_cap.ampdu_factor |
184 (sband->ht_cap.ampdu_density <<
188 memcpy(pos, &sband
82 ieee80211_compatible_rates(const u8 *supp_rates, int supp_rates_len, struct ieee80211_supported_band *sband, u32 *rates) argument
105 ieee80211_add_ht_ie(struct sk_buff *skb, const u8 *ht_info_ie, struct ieee80211_supported_band *sband, struct ieee80211_channel *channel, enum ieee80211_smps_mode smps) argument
212 struct ieee80211_supported_band *sband; local
[all...]
H A Dutil.c198 struct ieee80211_supported_band *sband; local
200 sband = local->hw.wiphy->bands[local->hw.conf.channel->band];
204 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
239 struct ieee80211_supported_band *sband; local
241 sband = local->hw.wiphy->bands[local->hw.conf.channel->band];
245 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
838 struct ieee80211_supported_band *sband; local
844 sband = local->hw.wiphy->bands[band];
845 if (!sband) {
847 sband
909 struct ieee80211_supported_band *sband; local
1050 struct ieee80211_supported_band *sband; local
[all...]
H A Drc80211_minstrel.c153 minstrel_tx_status(void *priv, struct ieee80211_supported_band *sband, argument
377 minstrel_rate_init(void *priv, struct ieee80211_supported_band *sband, argument
387 mi->lowest_rix = rate_lowest_index(sband, sta);
388 ctl_rate = &sband->bitrates[mi->lowest_rix];
392 for (i = 0; i < sband->n_bitrates; i++) {
398 if (!rate_supported(sta, sband->band, i))
404 mr->bitrate = sband->bitrates[i].bitrate / 5;
406 &sband->bitrates[i]);
437 for (i = n; i < sband->n_bitrates; i++) {
451 struct ieee80211_supported_band *sband; local
[all...]
H A Dmesh.c219 struct ieee80211_supported_band *sband; local
224 sband = local->hw.wiphy->bands[local->hw.conf.channel->band];
225 len = sband->n_bitrates;
232 rate = sband->bitrates[i].bitrate;
236 if (sband->n_bitrates > len) {
237 pos = skb_put(skb, sband->n_bitrates - len + 2);
239 *pos++ = sband->n_bitrates - len;
240 for (i = len; i < sband->n_bitrates; i++) {
241 rate = sband->bitrates[i].bitrate;
246 if (sband
[all...]
H A Dibss.c78 struct ieee80211_supported_band *sband; local
113 sband = local->hw.wiphy->bands[chan->band];
117 for (i = 0; i < sband->n_bitrates; i++) {
118 int rate = sband->bitrates[i].bitrate;
142 rates = sband->n_bitrates;
150 if (sband->band == IEEE80211_BAND_2GHZ) {
164 if (sband->n_bitrates > 8) {
165 rates = sband->n_bitrates - 8;
190 ieee80211_sta_def_wmm_params(sdata, sband->n_bitrates, supp_rates);
207 struct ieee80211_supported_band *sband; local
510 struct ieee80211_supported_band *sband; local
[all...]
H A Drc80211_minstrel_ht.c378 minstrel_ht_tx_status(void *priv, struct ieee80211_supported_band *sband, argument
393 return mac80211_minstrel.tx_status(priv, sband, sta, &msp->legacy, skb);
625 minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband, argument
645 return mac80211_minstrel.rate_init(priv, sband, sta, &msp->legacy);
705 minstrel_ht_rate_init(void *priv, struct ieee80211_supported_band *sband, argument
710 minstrel_ht_update_caps(priv, sband, sta, priv_sta, mp->hw->conf.channel_type);
714 minstrel_ht_rate_update(void *priv, struct ieee80211_supported_band *sband, argument
718 minstrel_ht_update_caps(priv, sband, sta, priv_sta, oper_chan_type);
724 struct ieee80211_supported_band *sband; local
732 sband
[all...]
H A Dmain.c514 struct ieee80211_supported_band *sband; local
516 sband = local->hw.wiphy->bands[band];
517 if (!sband)
522 local->oper_channel = &sband->channels[0];
525 channels += sband->n_channels;
527 if (max_bitrates < sband->n_bitrates)
528 max_bitrates = sband->n_bitrates;
529 supp_ht = supp_ht || sband->ht_cap.ht_supported;
H A Drate.c241 info->control.rates[0].idx = rate_lowest_index(txrc->sband, sta);
248 txrc->sband->n_bitrates);
320 if (mask != (1 << txrc->sband->n_bitrates) - 1) {
338 txrc->sband->n_bitrates, mask);
H A Dstatus.c169 struct ieee80211_supported_band *sband; local
194 sband = local->hw.wiphy->bands[info->band];
240 rate_control_tx_status(local, sband, sta, skb);
349 rthdr->rate = sband->bitrates[
H A Dtx.c48 struct ieee80211_supported_band *sband; local
60 sband = local->hw.wiphy->bands[tx->channel->band];
61 txrate = &sband->bitrates[info->control.rates[0].idx];
120 mrate = sband->bitrates[0].bitrate;
121 for (i = 0; i < sband->n_bitrates; i++) {
122 struct ieee80211_rate *r = &sband->bitrates[i];
130 switch (sband->band) {
570 struct ieee80211_supported_band *sband; local
580 sband = tx->local->hw.wiphy->bands[tx->channel->band];
587 txrc.sband
988 struct ieee80211_supported_band *sband; local
2147 struct ieee80211_supported_band *sband; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/wireless/
H A Ddebugfs.c76 struct ieee80211_supported_band *sband; local
85 sband = wiphy->bands[band];
86 if (!sband)
88 for (i = 0; i < sband->n_channels; i++)
89 offset += ht_print_chan(&sband->channels[i],
H A Dutil.c14 ieee80211_get_response_rate(struct ieee80211_supported_band *sband, argument
17 struct ieee80211_rate *result = &sband->bitrates[0];
20 for (i = 0; i < sband->n_bitrates; i++) {
23 if (sband->bitrates[i].bitrate > bitrate)
25 result = &sband->bitrates[i];
60 struct ieee80211_supported_band *sband; local
64 sband = wiphy->bands[band];
66 if (!sband)
69 for (i = 0; i < sband->n_channels; i++) {
70 if (sband
79 set_mandatory_flags_band(struct ieee80211_supported_band *sband, enum ieee80211_band band) argument
[all...]
H A Dreg.c733 struct ieee80211_supported_band *sband; local
741 sband = wiphy->bands[band];
742 BUG_ON(chan_idx >= sband->n_channels);
743 chan = &sband->channels[chan_idx];
793 struct ieee80211_supported_band *sband; local
796 sband = wiphy->bands[band];
798 for (i = 0; i < sband->n_channels; i++)
833 struct ieee80211_supported_band *sband; local
840 sband = wiphy->bands[reg_beacon->chan.band];
841 chan = &sband
879 struct ieee80211_supported_band *sband; local
898 struct ieee80211_supported_band *sband; local
957 struct ieee80211_supported_band *sband; local
1005 struct ieee80211_supported_band *sband; local
1057 struct ieee80211_supported_band *sband; local
1092 struct ieee80211_supported_band *sband; local
[all...]
H A Dcore.c412 struct ieee80211_supported_band *sband; local
437 sband = wiphy->bands[band];
438 if (!sband)
441 sband->band = band;
443 if (WARN_ON(!sband->n_channels || !sband->n_bitrates))
451 if (WARN_ON(sband->n_bitrates > 32))
454 for (i = 0; i < sband->n_channels; i++) {
455 sband->channels[i].orig_flags =
456 sband
[all...]
H A Dwext-compat.c26 struct ieee80211_supported_band *sband; local
32 sband = wdev->wiphy->bands[IEEE80211_BAND_5GHZ];
33 if (sband) {
35 is_ht |= sband->ht_cap.ht_supported;
38 sband = wdev->wiphy->bands[IEEE80211_BAND_2GHZ];
39 if (sband) {
42 for (i = 0; i < sband->n_bitrates; i++) {
43 if (sband->bitrates[i].bitrate == 10)
45 if (sband->bitrates[i].bitrate == 60)
48 is_ht |= sband
221 struct ieee80211_supported_band *sband; local
1213 struct ieee80211_supported_band *sband; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/
H A Dregd.c181 struct ieee80211_supported_band *sband; local
193 sband = wiphy->bands[band];
195 for (i = 0; i < sband->n_channels; i++) {
197 ch = &sband->channels[i];
241 struct ieee80211_supported_band *sband; local
247 sband = wiphy->bands[IEEE80211_BAND_2GHZ];
254 ch = &sband->channels[11]; /* CH 12 */
257 ch = &sband->channels[12]; /* CH 13 */
270 ch = &sband->channels[11]; /* CH 12 */
278 ch = &sband
290 struct ieee80211_supported_band *sband; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/iwlwifi/
H A Diwl-3945-rs.c342 struct ieee80211_supported_band *sband; local
351 sband = hw->wiphy->bands[conf->channel->band];
376 for (i = sband->n_bitrates - 1; i >= 0; i--) {
377 if (sta->supp_rates[sband->band] & (1 << i)) {
383 priv->_3945.sta_supp_rates = sta->supp_rates[sband->band];
385 if (sband->band == IEEE80211_BAND_5GHZ) {
446 static void rs_tx_status(void *priv_rate, struct ieee80211_supported_band *sband, argument
464 first_index = sband->bitrates[info->status.rates[0].idx].hw_value;
633 struct ieee80211_supported_band *sband = txrc->sband; local
901 rs_rate_init_stub(void *priv_r, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dmac80211.h2553 * @sband: The band this frame is being transmitted on.
2572 struct ieee80211_supported_band *sband; member in struct:ieee80211_tx_rate_control
2589 void (*rate_init)(void *priv, struct ieee80211_supported_band *sband,
2591 void (*rate_update)(void *priv, struct ieee80211_supported_band *sband,
2598 void (*tx_status)(void *priv, struct ieee80211_supported_band *sband,
2640 rate_lowest_index(struct ieee80211_supported_band *sband, argument
2645 for (i = 0; i < sband->n_bitrates; i++)
2646 if (rate_supported(sta, sband->band, i))
2656 bool rate_usable_index_exists(struct ieee80211_supported_band *sband, argument
2661 for (i = 0; i < sband
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/
H A Dmac80211_hwsim.c1317 struct ieee80211_supported_band *sband = &data->bands[band]; local
1320 sband->channels = data->channels_2ghz;
1321 sband->n_channels =
1323 sband->bitrates = data->rates;
1324 sband->n_bitrates = ARRAY_SIZE(hwsim_rates);
1327 sband->channels = data->channels_5ghz;
1328 sband->n_channels =
1330 sband->bitrates = data->rates + 4;
1331 sband->n_bitrates = ARRAY_SIZE(hwsim_rates) - 4;
1337 sband
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/ath9k/
H A Drc.c1223 struct ieee80211_supported_band *sband,
1320 static void ath_tx_status(void *priv, struct ieee80211_supported_band *sband, argument
1403 static void ath_rate_init(void *priv, struct ieee80211_supported_band *sband, argument
1412 for (i = 0; i < sband->n_bitrates; i++) {
1413 if (sta->supp_rates[sband->band] & BIT(i)) {
1415 = (sband->bitrates[i].bitrate * 2) / 10;
1443 rate_table = ath_choose_rate_table(sc, sband->band,
1450 ath_rc_init(sc, priv_sta, sband, sta, rate_table);
1453 static void ath_rate_update(void *priv, struct ieee80211_supported_band *sband, argument
1485 rate_table = ath_choose_rate_table(sc, sband
1221 ath_rc_init(struct ath_softc *sc, struct ath_rate_priv *ath_rc_priv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, const struct ath_rate_table *rate_table) argument
[all...]
H A Dhtc_drv_txrx.c441 struct ieee80211_supported_band *sband; local
457 sband = hw->wiphy->bands[band];
459 for (i = 0; i < sband->n_bitrates; i++) {
460 if (sband->bitrates[i].hw_value == rx_rate) {
464 if (sband->bitrates[i].hw_value_short == rx_rate) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/ath5k/
H A Dbase.c1040 struct ieee80211_supported_band *sband; local
1048 sband = &sc->sbands[IEEE80211_BAND_2GHZ];
1049 sband->band = IEEE80211_BAND_2GHZ;
1050 sband->bitrates = &sc->rates[IEEE80211_BAND_2GHZ][0];
1054 memcpy(sband->bitrates, &ath5k_rates[0],
1056 sband->n_bitrates = 12;
1058 sband->channels = sc->channels;
1059 sband->n_channels = ath5k_copy_channels(ah, sband->channels,
1062 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband;
[all...]

Completed in 245 milliseconds

12