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

12

/net/mac80211/
H A Drate.c200 struct ieee80211_supported_band *sband)
211 for (i = *idx + 1; i <= sband->n_bitrates; i++) {
222 struct ieee80211_supported_band *sband,
231 if ((sband->band == IEEE80211_BAND_2GHZ) &&
236 for (i = 0; i < sband->n_bitrates; i++) {
240 if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
243 if (!rate_supported(sta, sband->band, i))
249 WARN_ON_ONCE(i == sband->n_bitrates);
264 struct ieee80211_supported_band *sband = txrc->sband; local
199 rc_send_low_basicrate(s8 *idx, u32 basic_rates, struct ieee80211_supported_band *sband) argument
221 __rate_control_send_low(struct ieee80211_hw *hw, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, struct ieee80211_tx_info *info, u32 rate_mask) argument
362 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
639 struct ieee80211_supported_band *sband; local
[all...]
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
70 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band];
72 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista,
79 struct ieee80211_supported_band *sband,
96 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def,
32 rate_control_tx_status(struct ieee80211_local *local, struct ieee80211_supported_band *sband, struct sta_info *sta, struct sk_buff *skb) argument
78 rate_control_rate_update(struct ieee80211_local *local, struct ieee80211_supported_band *sband, struct sta_info *sta, u32 changed) argument
H A Drc80211_minstrel.c224 minstrel_tx_status(void *priv, struct ieee80211_supported_band *sband, argument
439 minstrel_rate_init(void *priv, struct ieee80211_supported_band *sband, argument
451 mi->lowest_rix = rate_lowest_index(sband, sta);
452 ctl_rate = &sband->bitrates[mi->lowest_rix];
453 mi->sp_ack_dur = ieee80211_frame_duration(sband->band, 10,
462 for (i = 0; i < sband->n_bitrates; i++) {
470 if (!rate_supported(sta, sband->band, i))
472 if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
481 mr->bitrate = DIV_ROUND_UP(sband->bitrates[i].bitrate,
483 calc_rate_durations(sband
532 struct ieee80211_supported_band *sband; local
581 struct ieee80211_supported_band *sband; local
[all...]
H A Dutil.c215 struct ieee80211_supported_band *sband; local
217 sband = local->hw.wiphy->bands[frame_txctl->band];
221 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
235 dur = ieee80211_frame_duration(sband->band, 10, bitrate,
238 dur += ieee80211_frame_duration(sband->band, frame_len, bitrate,
241 dur += ieee80211_frame_duration(sband->band, 10, bitrate,
259 struct ieee80211_supported_band *sband; local
261 sband = local->hw.wiphy->bands[frame_txctl->band];
265 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
278 dur = ieee80211_frame_duration(sband
1257 struct ieee80211_supported_band *sband; local
1522 struct ieee80211_supported_band *sband; local
2267 ieee80211_parse_bitrates(struct cfg80211_chan_def *chandef, const struct ieee80211_supported_band *sband, const u8 *srates, int srates_len, u32 *rates) argument
2302 struct ieee80211_supported_band *sband; local
2347 struct ieee80211_supported_band *sband; local
2468 struct ieee80211_supported_band *sband; local
[all...]
H A Dibss.c51 struct ieee80211_supported_band *sband; local
92 sband = local->hw.wiphy->bands[chandef->chan->band];
99 for (i = 0; i < sband->n_bitrates; i++) {
100 if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
102 if (sband->bitrates[i].bitrate > 110 &&
112 for (ri = 0; ri < sband->n_bitrates; ri++) {
113 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate,
128 if (sband->band == IEEE80211_BAND_2GHZ) {
155 for (; ri < sband->n_bitrates; ri++) {
156 int rate = DIV_ROUND_UP(sband
391 struct ieee80211_supported_band *sband; local
605 struct ieee80211_supported_band *sband; local
997 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; local
1164 struct ieee80211_supported_band *sband; local
1633 struct ieee80211_supported_band *sband; local
[all...]
H A Dvht.c116 struct ieee80211_supported_band *sband,
129 if (!vht_cap_ie || !sband->vht_cap.vht_supported)
145 own_cap = sband->vht_cap;
364 struct ieee80211_supported_band *sband; local
369 sband = local->hw.wiphy->bands[band];
416 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; local
422 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 Drc80211_minstrel_ht.c564 minstrel_ht_tx_status(void *priv, struct ieee80211_supported_band *sband, argument
578 return mac80211_minstrel.tx_status(priv, sband, sta, &msp->legacy, skb);
927 struct ieee80211_supported_band *sband,
932 if (sband->band != IEEE80211_BAND_2GHZ)
941 if (!rate_supported(sta, sband->band, mp->cck_rates[i]))
945 if (sband->bitrates[i].flags & IEEE80211_RATE_SHORT_PREAMBLE)
953 minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband, argument
980 ack_dur = ieee80211_frame_duration(sband->band, 10, 60, 1, 1, 0);
981 mi->overhead = ieee80211_frame_duration(sband->band, 0, 60, 1, 1, 0);
1007 minstrel_ht_update_cck(mp, mi, sband, st
926 minstrel_ht_update_cck(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta) argument
1056 minstrel_ht_rate_init(void *priv, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta) argument
1064 minstrel_ht_rate_update(void *priv, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta, u32 changed) argument
1075 struct ieee80211_supported_band *sband; local
[all...]
H A Dmlme.c151 struct ieee80211_supported_band *sband,
167 if (!ht_cap || !ht_oper || !sband->ht_cap.ht_supported) {
200 if (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) {
219 if (!vht_oper || !sband->vht_cap.vht_supported) {
346 struct ieee80211_supported_band *sband; local
376 sband = local->hw.wiphy->bands[chan->band];
379 flags = ieee80211_determine_chantype(sdata, sband, chan,
444 rate_control_rate_update(local, sband, sta,
458 rate_control_rate_update(local, sband, sta,
469 struct ieee80211_supported_band *sband,
150 ieee80211_determine_chantype(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, struct ieee80211_channel *channel, const struct ieee80211_ht_cap *ht_cap, const struct ieee80211_ht_operation *ht_oper, const struct ieee80211_vht_operation *vht_oper, struct cfg80211_chan_def *chandef, bool tracking) argument
467 ieee80211_add_ht_ie(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, u8 ap_ht_param, struct ieee80211_supported_band *sband, struct ieee80211_channel *channel, enum ieee80211_smps_mode smps) argument
536 ieee80211_add_vht_ie(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, struct ieee80211_supported_band *sband, struct ieee80211_vht_cap *ap_vht_cap) argument
598 struct ieee80211_supported_band *sband; local
2502 ieee80211_get_rates(struct ieee80211_supported_band *sband, u8 *supp_rates, unsigned int supp_rates_len, u32 *rates, u32 *basic_rates, bool *have_higher_than_11mbit, int *min_rate, int *min_rate_index, int shift, u32 rate_flags) argument
2581 struct ieee80211_supported_band *sband; local
3896 struct ieee80211_supported_band *sband; local
4015 struct ieee80211_supported_band *sband; local
4285 struct ieee80211_supported_band *sband; local
[all...]
H A Dmain.c822 struct ieee80211_supported_band *sband; local
824 sband = local->hw.wiphy->bands[band];
825 if (!sband)
830 &sband->channels[0],
840 channels += sband->n_channels;
842 if (max_bitrates < sband->n_bitrates)
843 max_bitrates = sband->n_bitrates;
844 supp_ht = supp_ht || sband->ht_cap.ht_supported;
845 supp_vht = supp_vht || sband->vht_cap.vht_supported;
847 if (sband
[all...]
H A Dmesh_plink.c98 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; local
113 for (i = 0; i < sband->n_bitrates; i++)
114 if (sband->bitrates[i].flags & IEEE80211_RATE_ERP_G)
383 struct ieee80211_supported_band *sband; local
386 sband = local->hw.wiphy->bands[band];
400 if (ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
416 rate_control_rate_update(local, sband, sta, changed);
H A Dtx.c48 struct ieee80211_supported_band *sband; local
70 sband = local->hw.wiphy->bands[info->band];
71 txrate = &sband->bitrates[tx->rate.idx];
130 mrate = sband->bitrates[0].bitrate;
131 for (i = 0; i < sband->n_bitrates; i++) {
132 struct ieee80211_rate *r = &sband->bitrates[i];
143 switch (sband->band) {
179 dur = ieee80211_frame_duration(sband->band, 10, rate, erp,
188 dur += ieee80211_frame_duration(sband->band, next_frag_len,
658 struct ieee80211_supported_band *sband; local
[all...]
H A Dmesh.c414 struct ieee80211_supported_band *sband; local
417 sband = local->hw.wiphy->bands[band];
418 if (!sband->ht_cap.ht_supported ||
428 ieee80211_ie_build_ht_cap(pos, &sband->ht_cap, sband->ht_cap.cap);
441 struct ieee80211_supported_band *sband; local
454 sband = local->hw.wiphy->bands[channel->band];
455 ht_cap = &sband->ht_cap;
H A Dstatus.c274 struct ieee80211_supported_band *sband,
306 rate = sband->bitrates[info->status.rates[0].idx].bitrate;
581 struct ieee80211_supported_band *sband; local
618 sband = local->hw.wiphy->bands[info->band];
698 rate_control_tx_status(local, sband, sta, skb);
801 ieee80211_add_tx_radiotap_header(local, sband, skb, retry_count,
273 ieee80211_add_tx_radiotap_header(struct ieee80211_local *local, struct ieee80211_supported_band *sband, struct sk_buff *skb, int retry_count, int rtap_len, int shift) argument
H A Dht.c131 struct ieee80211_supported_band *sband,
144 if (!ht_cap_ie || !sband->ht_cap.ht_supported)
149 own_cap = sband->ht_cap;
130 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 Drx.c2464 struct ieee80211_supported_band *sband; local
2487 sband = rx->local->hw.wiphy->bands[status->band];
2489 rate_control_rate_update(local, sband, rx->sta,
2494 struct ieee80211_supported_band *sband; local
2511 sband = rx->local->hw.wiphy->bands[status->band];
2513 rate_control_rate_update(local, sband, rx->sta,
2945 struct ieee80211_supported_band *sband; local
2950 sband = rx->local->hw.wiphy->bands[status->band];
2953 rate = &sband->bitrates[status->rate_idx];
3355 struct ieee80211_supported_band *sband; local
[all...]
H A Diface.c1705 struct ieee80211_supported_band *sband; local
1706 sband = local->hw.wiphy->bands[i];
1708 sband ? (1 << sband->n_bitrates) - 1 : 0;
1709 if (sband)
1711 sband->ht_cap.mcs.rx_mask,
H A Dcfg.c419 struct ieee80211_supported_band *sband; local
423 sband = sta->local->hw.wiphy->bands[
425 brate = sband->bitrates[rate->idx].bitrate;
450 struct ieee80211_supported_band *sband; local
454 sband = sta->local->hw.wiphy->bands[
456 brate = sband->bitrates[sta->last_rx_rate_idx].bitrate;
979 struct ieee80211_supported_band *sband; local
984 sband = local->hw.wiphy->bands[band];
1068 sband, params->supported_rates,
1074 ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
2350 struct ieee80211_supported_band *sband = wiphy->bands[i]; local
[all...]
/net/wireless/
H A Ddebugfs.c73 struct ieee80211_supported_band *sband; local
82 sband = wiphy->bands[band];
83 if (!sband)
85 for (i = 0; i < sband->n_channels; i++)
86 offset += ht_print_chan(&sband->channels[i],
H A Dutil.c21 ieee80211_get_response_rate(struct ieee80211_supported_band *sband, argument
24 struct ieee80211_rate *result = &sband->bitrates[0];
27 for (i = 0; i < sband->n_bitrates; i++) {
30 if (sband->bitrates[i].bitrate > bitrate)
32 result = &sband->bitrates[i];
39 u32 ieee80211_mandatory_rates(struct ieee80211_supported_band *sband, argument
47 if (WARN_ON(!sband))
50 if (sband->band == IEEE80211_BAND_2GHZ) {
60 bitrates = sband->bitrates;
61 for (i = 0; i < sband
120 struct ieee80211_supported_band *sband; local
139 set_mandatory_flags_band(struct ieee80211_supported_band *sband, enum ieee80211_band band) argument
1499 ieee80211_get_ratemask(struct ieee80211_supported_band *sband, const u8 *rates, unsigned int n_rates, u32 *mask) argument
[all...]
H A Dmesh.c134 struct ieee80211_supported_band *sband; local
138 sband = rdev->wiphy.bands[band];
139 if (!sband)
142 for (i = 0; i < sband->n_channels; i++) {
143 chan = &sband->channels[i];
170 struct ieee80211_supported_band *sband = local
173 setup->basic_rates = ieee80211_mandatory_rates(sband,
H A Dcore.c491 struct ieee80211_supported_band *sband; local
548 sband = wiphy->bands[band];
549 if (!sband)
552 sband->band = band;
553 if (WARN_ON(!sband->n_channels))
560 !sband->n_bitrates))
565 * modify the sband's ht data even if the driver uses a
570 sband->ht_cap.ht_supported) {
571 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
572 sband
[all...]
H A Dreg.c1191 struct ieee80211_supported_band *sband)
1195 if (!sband)
1198 for (i = 0; i < sband->n_channels; i++)
1199 handle_channel(wiphy, initiator, &sband->channels[i]);
1323 struct ieee80211_supported_band *sband; local
1328 sband = wiphy->bands[reg_beacon->chan.band];
1329 chan = &sband->channels[chan_idx];
1365 struct ieee80211_supported_band *sband; local
1370 sband = wiphy->bands[reg_beacon->chan.band];
1372 for (i = 0; i < sband
1189 handle_band(struct wiphy *wiphy, enum nl80211_reg_initiator initiator, struct ieee80211_supported_band *sband) argument
1382 struct ieee80211_supported_band *sband; local
1421 struct ieee80211_supported_band *sband = wiphy->bands[channel->band]; local
1459 reg_process_ht_flags_band(struct wiphy *wiphy, struct ieee80211_supported_band *sband) argument
1574 handle_band_custom(struct wiphy *wiphy, struct ieee80211_supported_band *sband, const struct ieee80211_regdomain *regd) argument
2204 struct ieee80211_supported_band *sband; local
[all...]
H A Dibss.c104 struct ieee80211_supported_band *sband = local
111 for (j = 0; j < sband->n_bitrates; j++) {
112 if (sband->bitrates[j].flags & flag)
252 struct ieee80211_supported_band *sband; local
255 sband = rdev->wiphy.bands[band];
256 if (!sband)
259 for (i = 0; i < sband->n_channels; i++) {
260 chan = &sband->channels[i];
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
219 struct ieee80211_supported_band *sband; local
1229 struct ieee80211_supported_band *sband; local
[all...]
H A Dmlme.c670 struct ieee80211_supported_band *sband; local
684 sband = wiphy->bands[bandid];
685 if (!sband)
688 for (i = 0; i < sband->n_channels; i++) {
689 c = &sband->channels[i];

Completed in 159 milliseconds

12