Searched defs:sband (Results 1 - 25 of 27) sorted by relevance

12

/net/mac80211/
H A Drate.h33 struct ieee80211_supported_band *sband,
44 ref->ops->tx_status(ref->priv, sband, ista, priv_sta, skb);
54 struct ieee80211_supported_band *sband; local
68 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band];
73 ref->ops->rate_init(ref->priv, sband, ista, priv_sta);
78 struct ieee80211_supported_band *sband,
86 ref->ops->rate_update(ref->priv, sband, ista,
32 rate_control_tx_status(struct ieee80211_local *local, struct ieee80211_supported_band *sband, struct sta_info *sta, struct sk_buff *skb) argument
77 rate_control_rate_update(struct ieee80211_local *local, struct ieee80211_supported_band *sband, struct sta_info *sta, u32 changed) argument
H A Dht.c89 struct ieee80211_supported_band *sband,
102 if (!ht_cap_ie || !sband->ht_cap.ht_supported)
107 own_cap = sband->ht_cap;
88 ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, const struct ieee80211_ht_cap *ht_cap_ie, struct sta_info *sta) argument
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
344 struct ieee80211_supported_band *sband; local
[all...]
H A Dstatus.c256 *sband, struct sk_buff *skb,
284 *pos = sband->bitrates[info->status.rates[0].idx].bitrate / 5;
417 struct ieee80211_supported_band *sband; local
453 sband = local->hw.wiphy->bands[info->band];
530 rate_control_tx_status(local, sband, sta, skb);
627 ieee80211_add_tx_radiotap_header(sband, skb, retry_count, rtap_len);
255 ieee80211_add_tx_radiotap_header(struct ieee80211_supported_band *sband, struct sk_buff *skb, int retry_count, int rtap_len) argument
H A Dvht.c116 struct ieee80211_supported_band *sband,
129 if (!vht_cap_ie || !sband->vht_cap.vht_supported)
138 own_cap = sband->vht_cap;
358 struct ieee80211_supported_band *sband; local
363 sband = local->hw.wiphy->bands[band];
404 rate_control_rate_update(local, sband, sta, changed);
115 ieee80211_vht_cap_ie_to_sta_vht_cap(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, const struct ieee80211_vht_cap *vht_cap_ie, struct sta_info *sta) argument
H A Dibss.c49 struct ieee80211_supported_band *sband; local
101 sband = local->hw.wiphy->bands[chan->band];
137 rates = min_t(int, 8, sband->n_bitrates);
141 int rate = sband->bitrates[i].bitrate;
148 if (sband->band == IEEE80211_BAND_2GHZ) {
160 if (sband->n_bitrates > 8) {
162 *pos++ = sband->n_bitrates - 8;
163 for (i = 8; i < sband->n_bitrates; i++) {
164 int rate = sband->bitrates[i].bitrate;
179 sband
259 struct ieee80211_supported_band *sband; local
466 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; local
[all...]
H A Dmain.c744 struct ieee80211_supported_band *sband; local
746 sband = local->hw.wiphy->bands[band];
747 if (!sband)
752 &sband->channels[0],
762 channels += sband->n_channels;
764 if (max_bitrates < sband->n_bitrates)
765 max_bitrates = sband->n_bitrates;
766 supp_ht = supp_ht || sband->ht_cap.ht_supported;
767 supp_vht = supp_vht || sband->vht_cap.vht_supported;
769 if (sband
[all...]
H A Dmesh_plink.c94 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; local
109 for (i = 0; i < sband->n_bitrates; i++)
110 if (sband->bitrates[i].flags & IEEE80211_RATE_ERP_G)
372 struct ieee80211_supported_band *sband; local
375 sband = local->hw.wiphy->bands[band];
389 if (ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
405 rate_control_rate_update(local, sband, sta, changed);
H A Drate.c214 struct ieee80211_supported_band *sband)
225 for (i = *idx + 1; i <= sband->n_bitrates; i++) {
236 rate_lowest_non_cck_index(struct ieee80211_supported_band *sband, argument
241 for (i = 0; i < sband->n_bitrates; i++) {
242 struct ieee80211_rate *srate = &sband->bitrates[i];
247 if (rate_supported(sta, sband->band, i))
256 struct ieee80211_supported_band *sband,
260 if ((sband->band != IEEE80211_BAND_2GHZ) ||
262 info->control.rates[0].idx = rate_lowest_index(sband, sta);
265 rate_lowest_non_cck_index(sband, st
213 rc_send_low_broadcast(s8 *idx, u32 basic_rates, struct ieee80211_supported_band *sband) argument
255 __rate_control_send_low(struct ieee80211_hw *hw, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, struct ieee80211_tx_info *info) argument
280 struct ieee80211_supported_band *sband = txrc->sband; local
368 rate_idx_match_mask(struct ieee80211_tx_rate *rate, struct ieee80211_supported_band *sband, enum nl80211_chan_width chan_width, u32 mask, u8 mcs_mask[IEEE80211_HT_MCS_MASK_LEN]) argument
431 rate_fixup_ratelist(struct ieee80211_vif *vif, struct ieee80211_supported_band *sband, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *rates, int max_rates) argument
571 rate_control_apply_mask(struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct ieee80211_supported_band *sband, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *rates, int max_rates) argument
632 struct ieee80211_supported_band *sband; local
[all...]
H A Drc80211_minstrel.c213 minstrel_tx_status(void *priv, struct ieee80211_supported_band *sband, argument
419 minstrel_rate_init(void *priv, struct ieee80211_supported_band *sband, argument
429 mi->lowest_rix = rate_lowest_index(sband, sta);
430 ctl_rate = &sband->bitrates[mi->lowest_rix];
431 mi->sp_ack_dur = ieee80211_frame_duration(sband->band, 10,
438 for (i = 0; i < sband->n_bitrates; i++) {
444 if (!rate_supported(sta, sband->band, i))
450 mr->bitrate = sband->bitrates[i].bitrate / 5;
451 calc_rate_durations(sband->band, mr, &sband
499 struct ieee80211_supported_band *sband; local
548 struct ieee80211_supported_band *sband; local
[all...]
H A Dmesh.c415 struct ieee80211_supported_band *sband; local
418 sband = local->hw.wiphy->bands[band];
419 if (!sband->ht_cap.ht_supported ||
427 ieee80211_ie_build_ht_cap(pos, &sband->ht_cap, sband->ht_cap.cap);
440 struct ieee80211_supported_band *sband; local
453 sband = local->hw.wiphy->bands[channel->band];
454 ht_cap = &sband->ht_cap;
H A Drc80211_minstrel_ht.c461 minstrel_ht_tx_status(void *priv, struct ieee80211_supported_band *sband, argument
475 return mac80211_minstrel.tx_status(priv, sband, sta, &msp->legacy, skb);
815 struct ieee80211_supported_band *sband,
820 if (sband->band != IEEE80211_BAND_2GHZ)
826 if (!rate_supported(sta, sband->band, mp->cck_rates[i]))
830 if (sband->bitrates[i].flags & IEEE80211_RATE_SHORT_PREAMBLE)
838 minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband, argument
864 ack_dur = ieee80211_frame_duration(sband->band, 10, 60, 1, 1);
865 mi->overhead = ieee80211_frame_duration(sband->band, 0, 60, 1, 1) + ack_dur;
890 minstrel_ht_update_cck(mp, mi, sband, st
814 minstrel_ht_update_cck(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta) argument
938 minstrel_ht_rate_init(void *priv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta) argument
945 minstrel_ht_rate_update(void *priv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta, u32 changed) argument
955 struct ieee80211_supported_band *sband; local
[all...]
H A Diface.c1635 struct ieee80211_supported_band *sband; local
1636 sband = local->hw.wiphy->bands[i];
1638 sband ? (1 << sband->n_bitrates) - 1 : 0;
1639 if (sband)
1641 sband->ht_cap.mcs.rx_mask,
H A Dcfg.c394 struct ieee80211_supported_band *sband; local
395 sband = sta->local->hw.wiphy->bands[
397 rinfo->legacy = sband->bitrates[rate->idx].bitrate;
421 struct ieee80211_supported_band *sband; local
423 sband = sta->local->hw.wiphy->bands[
426 sband->bitrates[sta->last_rx_rate_idx].bitrate;
1181 struct ieee80211_supported_band *sband; local
1186 sband = local->hw.wiphy->bands[band];
1277 for (j = 0; j < sband->n_bitrates; j++) {
1278 if (sband
1943 struct ieee80211_supported_band *sband = wiphy->bands[band]; local
2427 struct ieee80211_supported_band *sband = wiphy->bands[i]; local
[all...]
H A Drx.c2369 struct ieee80211_supported_band *sband; local
2392 sband = rx->local->hw.wiphy->bands[status->band];
2394 rate_control_rate_update(local, sband, rx->sta,
2399 struct ieee80211_supported_band *sband; local
2416 sband = rx->local->hw.wiphy->bands[status->band];
2418 rate_control_rate_update(local, sband, rx->sta,
2833 struct ieee80211_supported_band *sband; local
2838 sband = rx->local->hw.wiphy->bands[status->band];
2841 rate = &sband->bitrates[status->rate_idx];
3234 struct ieee80211_supported_band *sband; local
[all...]
H A Dtx.c46 struct ieee80211_supported_band *sband; local
58 sband = local->hw.wiphy->bands[info->band];
59 txrate = &sband->bitrates[tx->rate.idx];
118 mrate = sband->bitrates[0].bitrate;
119 for (i = 0; i < sband->n_bitrates; i++) {
120 struct ieee80211_rate *r = &sband->bitrates[i];
128 switch (sband->band) {
164 dur = ieee80211_frame_duration(sband->band, 10, rate, erp,
172 dur += ieee80211_frame_duration(sband->band, next_frag_len,
619 struct ieee80211_supported_band *sband; local
[all...]
H A Dutil.c199 struct ieee80211_supported_band *sband; local
201 sband = local->hw.wiphy->bands[frame_txctl->band];
205 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
216 dur = ieee80211_frame_duration(sband->band, 10, rate->bitrate,
219 dur += ieee80211_frame_duration(sband->band, frame_len, rate->bitrate,
222 dur += ieee80211_frame_duration(sband->band, 10, rate->bitrate,
240 struct ieee80211_supported_band *sband; local
242 sband = local->hw.wiphy->bands[frame_txctl->band];
246 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
256 dur = ieee80211_frame_duration(sband
1078 struct ieee80211_supported_band *sband; local
1187 struct ieee80211_supported_band *sband; local
1374 struct ieee80211_supported_band *sband; local
2031 struct ieee80211_supported_band *sband; local
2063 struct ieee80211_supported_band *sband; local
2170 struct ieee80211_supported_band *sband; local
[all...]
/net/wireless/
H A Ddebugfs.c71 struct ieee80211_supported_band *sband; local
80 sband = wiphy->bands[band];
81 if (!sband)
83 for (i = 0; i < sband->n_channels; i++)
84 offset += ht_print_chan(&sband->channels[i],
H A Dibss.c102 struct ieee80211_supported_band *sband = local
109 for (j = 0; j < sband->n_bitrates; j++) {
110 if (sband->bitrates[j].flags & flag)
258 struct ieee80211_supported_band *sband; local
261 sband = rdev->wiphy.bands[band];
262 if (!sband)
265 for (i = 0; i < sband->n_channels; i++) {
266 chan = &sband->channels[i];
H A Dmesh.c131 struct ieee80211_supported_band *sband; local
135 sband = rdev->wiphy.bands[band];
136 if (!sband)
139 for (i = 0; i < sband->n_channels; i++) {
140 chan = &sband->channels[i];
H A Dcore.c493 struct ieee80211_supported_band *sband; local
537 sband = wiphy->bands[band];
538 if (!sband)
541 sband->band = band;
542 if (WARN_ON(!sband->n_channels))
549 !sband->n_bitrates))
554 * modify the sband's ht data even if the driver uses a
559 sband->ht_cap.ht_supported) {
560 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
561 sband
[all...]
H A Dmlme.c839 struct ieee80211_supported_band *sband; local
853 sband = wiphy->bands[bandid];
854 if (!sband)
857 for (i = 0; i < sband->n_channels; i++) {
858 c = &sband->channels[i];
H A Dutil.c18 ieee80211_get_response_rate(struct ieee80211_supported_band *sband, argument
21 struct ieee80211_rate *result = &sband->bitrates[0];
24 for (i = 0; i < sband->n_bitrates; i++) {
27 if (sband->bitrates[i].bitrate > bitrate)
29 result = &sband->bitrates[i];
88 struct ieee80211_supported_band *sband; local
92 sband = wiphy->bands[band];
94 if (!sband)
97 for (i = 0; i < sband->n_channels; i++) {
98 if (sband
107 set_mandatory_flags_band(struct ieee80211_supported_band *sband, enum ieee80211_band band) argument
1389 ieee80211_get_ratemask(struct ieee80211_supported_band *sband, const u8 *rates, unsigned int n_rates, u32 *mask) argument
[all...]
H A Dwext-compat.c29 struct ieee80211_supported_band *sband; local
35 sband = wdev->wiphy->bands[IEEE80211_BAND_5GHZ];
36 if (sband) {
38 is_ht |= sband->ht_cap.ht_supported;
41 sband = wdev->wiphy->bands[IEEE80211_BAND_2GHZ];
42 if (sband) {
45 for (i = 0; i < sband->n_bitrates; i++) {
46 if (sband->bitrates[i].bitrate == 10)
48 if (sband->bitrates[i].bitrate == 60)
51 is_ht |= sband
224 struct ieee80211_supported_band *sband; local
1241 struct ieee80211_supported_band *sband; local
[all...]
H A Dreg.c919 struct ieee80211_supported_band *sband)
923 if (!sband)
926 for (i = 0; i < sband->n_channels; i++)
927 handle_channel(wiphy, initiator, &sband->channels[i]);
1038 struct ieee80211_supported_band *sband; local
1043 sband = wiphy->bands[reg_beacon->chan.band];
1044 chan = &sband->channels[chan_idx];
1085 struct ieee80211_supported_band *sband; local
1090 sband = wiphy->bands[reg_beacon->chan.band];
1092 for (i = 0; i < sband
917 handle_band(struct wiphy *wiphy, enum nl80211_reg_initiator initiator, struct ieee80211_supported_band *sband) argument
1102 struct ieee80211_supported_band *sband; local
1141 struct ieee80211_supported_band *sband = wiphy->bands[channel->band]; local
1179 reg_process_ht_flags_band(struct wiphy *wiphy, struct ieee80211_supported_band *sband) argument
1282 handle_band_custom(struct wiphy *wiphy, struct ieee80211_supported_band *sband, const struct ieee80211_regdomain *regd) argument
1818 struct ieee80211_supported_band *sband; local
[all...]

Completed in 167 milliseconds

12