/net/mac80211/ |
D | iface.c | 45 bool __ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata) in __ieee80211_recalc_txpower() argument 51 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in __ieee80211_recalc_txpower() 60 if (sdata->user_power_level != IEEE80211_UNSET_POWER_LEVEL) in __ieee80211_recalc_txpower() 61 power = min(power, sdata->user_power_level); in __ieee80211_recalc_txpower() 63 if (sdata->ap_power_level != IEEE80211_UNSET_POWER_LEVEL) in __ieee80211_recalc_txpower() 64 power = min(power, sdata->ap_power_level); in __ieee80211_recalc_txpower() 66 if (power != sdata->vif.bss_conf.txpower) { in __ieee80211_recalc_txpower() 67 sdata->vif.bss_conf.txpower = power; in __ieee80211_recalc_txpower() 68 ieee80211_hw_config(sdata->local, 0); in __ieee80211_recalc_txpower() 75 void ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata) in ieee80211_recalc_txpower() argument [all …]
|
D | ibss.c | 37 static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata, in __ieee80211_sta_join_ibss() argument 44 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in __ieee80211_sta_join_ibss() 45 struct ieee80211_local *local = sdata->local; in __ieee80211_sta_join_ibss() 60 drv_reset_tsf(local, sdata); in __ieee80211_sta_join_ibss() 63 sta_info_flush(sdata); in __ieee80211_sta_join_ibss() 66 if (sdata->vif.bss_conf.ibss_joined) { in __ieee80211_sta_join_ibss() 67 sdata->vif.bss_conf.ibss_joined = false; in __ieee80211_sta_join_ibss() 68 sdata->vif.bss_conf.ibss_creator = false; in __ieee80211_sta_join_ibss() 69 sdata->vif.bss_conf.enable_beacon = false; in __ieee80211_sta_join_ibss() 70 netif_carrier_off(sdata->dev); in __ieee80211_sta_join_ibss() [all …]
|
D | driver-ops.h | 8 static inline void check_sdata_in_driver(struct ieee80211_sub_if_data *sdata) in check_sdata_in_driver() argument 10 WARN(!(sdata->flags & IEEE80211_SDATA_IN_DRIVER), in check_sdata_in_driver() 12 sdata->dev ? sdata->dev->name : sdata->name, sdata->flags); in check_sdata_in_driver() 16 get_bss_sdata(struct ieee80211_sub_if_data *sdata) in get_bss_sdata() argument 18 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in get_bss_sdata() 19 sdata = container_of(sdata->bss, struct ieee80211_sub_if_data, in get_bss_sdata() 22 return sdata; in get_bss_sdata() 32 static inline void drv_get_et_strings(struct ieee80211_sub_if_data *sdata, in drv_get_et_strings() argument 35 struct ieee80211_local *local = sdata->local; in drv_get_et_strings() 38 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings() [all …]
|
D | debug.h | 78 #define _sdata_info(sdata, fmt, ...) \ argument 79 __sdata_info("%s: " fmt, (sdata)->name, ##__VA_ARGS__) 80 #define _sdata_dbg(print, sdata, fmt, ...) \ argument 81 __sdata_dbg(print, "%s: " fmt, (sdata)->name, ##__VA_ARGS__) 82 #define _sdata_err(sdata, fmt, ...) \ argument 83 __sdata_err("%s: " fmt, (sdata)->name, ##__VA_ARGS__) 87 #define _sdata_info(sdata, fmt, ...) \ argument 90 (sdata)->name, ##__VA_ARGS__); \ 93 #define _sdata_dbg(print, sdata, fmt, ...) \ argument 97 (sdata)->name, ##__VA_ARGS__); \ [all …]
|
D | mlme.c | 147 void ieee80211_sta_reset_beacon_monitor(struct ieee80211_sub_if_data *sdata) in ieee80211_sta_reset_beacon_monitor() argument 149 if (sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER) in ieee80211_sta_reset_beacon_monitor() 152 if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR) in ieee80211_sta_reset_beacon_monitor() 155 mod_timer(&sdata->u.mgd.bcn_mon_timer, in ieee80211_sta_reset_beacon_monitor() 156 round_jiffies_up(jiffies + sdata->u.mgd.beacon_timeout)); in ieee80211_sta_reset_beacon_monitor() 159 void ieee80211_sta_reset_conn_monitor(struct ieee80211_sub_if_data *sdata) in ieee80211_sta_reset_conn_monitor() argument 161 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_sta_reset_conn_monitor() 163 if (unlikely(!sdata->u.mgd.associated)) in ieee80211_sta_reset_conn_monitor() 166 if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR) in ieee80211_sta_reset_conn_monitor() 169 mod_timer(&sdata->u.mgd.conn_mon_timer, in ieee80211_sta_reset_conn_monitor() [all …]
|
D | key.c | 58 static void increment_tailroom_need_count(struct ieee80211_sub_if_data *sdata) in increment_tailroom_need_count() argument 79 if (!sdata->crypto_tx_tailroom_needed_cnt++) { in increment_tailroom_need_count() 90 struct ieee80211_sub_if_data *sdata; in ieee80211_key_enable_hw_accel() local 114 sdata = key->sdata; in ieee80211_key_enable_hw_accel() 115 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_key_enable_hw_accel() 124 ret = drv_set_key(key->local, SET_KEY, sdata, in ieee80211_key_enable_hw_accel() 133 sdata->crypto_tx_tailroom_needed_cnt--; in ieee80211_key_enable_hw_accel() 142 sdata_err(sdata, in ieee80211_key_enable_hw_accel() 163 struct ieee80211_sub_if_data *sdata; in ieee80211_key_disable_hw_accel() local 178 sdata = key->sdata; in ieee80211_key_disable_hw_accel() [all …]
|
D | mesh.c | 43 struct ieee80211_sub_if_data *sdata = (void *) data; in ieee80211_mesh_housekeeping_timer() local 44 struct ieee80211_local *local = sdata->local; in ieee80211_mesh_housekeeping_timer() 45 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer() 49 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_mesh_housekeeping_timer() 61 bool mesh_matches_local(struct ieee80211_sub_if_data *sdata, in mesh_matches_local() argument 64 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local() 65 struct ieee80211_local *local = sdata->local; in mesh_matches_local() 88 ieee80211_sta_get_rates(local, ie, ieee80211_get_sdata_band(sdata), in mesh_matches_local() 91 if (sdata->vif.bss_conf.basic_rates != basic_rates) in mesh_matches_local() 94 ieee80211_ht_oper_to_chandef(sdata->vif.bss_conf.chandef.chan, in mesh_matches_local() [all …]
|
D | mesh.h | 106 struct ieee80211_sub_if_data *sdata; member 209 int ieee80211_new_mesh_header(struct ieee80211_sub_if_data *sdata, 212 int mesh_rmc_check(struct ieee80211_sub_if_data *sdata, 214 bool mesh_matches_local(struct ieee80211_sub_if_data *sdata, 217 void mesh_mgmt_ies_add(struct ieee80211_sub_if_data *sdata, 219 int mesh_add_meshconf_ie(struct ieee80211_sub_if_data *sdata, 221 int mesh_add_meshid_ie(struct ieee80211_sub_if_data *sdata, 223 int mesh_add_rsn_ie(struct ieee80211_sub_if_data *sdata, 225 int mesh_add_vendor_ies(struct ieee80211_sub_if_data *sdata, 227 int mesh_add_ht_cap_ie(struct ieee80211_sub_if_data *sdata, [all …]
|
D | debugfs_netdev.c | 28 struct ieee80211_sub_if_data *sdata, in ieee80211_if_read() argument 37 if (sdata->dev->reg_state == NETREG_REGISTERED) in ieee80211_if_read() 38 ret = (*format)(sdata, buf, sizeof(buf)); in ieee80211_if_read() 48 struct ieee80211_sub_if_data *sdata, in ieee80211_if_write() argument 65 if (sdata->dev->reg_state == NETREG_REGISTERED) in ieee80211_if_write() 66 ret = (*write)(sdata, buf, count); in ieee80211_if_write() 74 const struct ieee80211_sub_if_data *sdata, char *buf, \ 77 return scnprintf(buf, buflen, format_string, sdata->field); \ 90 const struct ieee80211_sub_if_data *sdata, \ 95 for (i = 0; i < sizeof(sdata->field); i++) { \ [all …]
|
D | mesh_plink.c | 23 #define rssi_threshold_check(sta, sdata) \ argument 24 (sdata->u.mesh.mshcfg.rssi_threshold == 0 ||\ 26 sdata->u.mesh.mshcfg.rssi_threshold)) 62 static int mesh_plink_frame_tx(struct ieee80211_sub_if_data *sdata, 90 static u32 mesh_set_short_slot_time(struct ieee80211_sub_if_data *sdata) in mesh_set_short_slot_time() argument 92 struct ieee80211_local *local = sdata->local; in mesh_set_short_slot_time() 93 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); in mesh_set_short_slot_time() 118 if (sdata != sta->sdata || in mesh_set_short_slot_time() 131 if (sdata->vif.bss_conf.use_short_slot != short_slot) { in mesh_set_short_slot_time() 132 sdata->vif.bss_conf.use_short_slot = short_slot; in mesh_set_short_slot_time() [all …]
|
D | cfg.c | 31 struct ieee80211_sub_if_data *sdata; in ieee80211_add_iface() local 39 sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); in ieee80211_add_iface() 40 sdata->u.mntr_flags = *flags; in ieee80211_add_iface() 58 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); in ieee80211_change_iface() local 61 ret = ieee80211_if_change_type(sdata, type); in ieee80211_change_iface() 67 RCU_INIT_POINTER(sdata->u.vlan.sta, NULL); in ieee80211_change_iface() 70 sdata->u.mgd.use_4addr = params->use_4addr; in ieee80211_change_iface() 72 if (sdata->vif.type == NL80211_IFTYPE_MONITOR && flags) { in ieee80211_change_iface() 73 struct ieee80211_local *local = sdata->local; in ieee80211_change_iface() 75 if (ieee80211_sdata_running(sdata)) { in ieee80211_change_iface() [all …]
|
D | chan.c | 62 struct ieee80211_sub_if_data *sdata; in ieee80211_is_radar_required() local 65 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee80211_is_radar_required() 66 if (sdata->radar_required) { in ieee80211_is_radar_required() 166 static int ieee80211_assign_vif_chanctx(struct ieee80211_sub_if_data *sdata, in ieee80211_assign_vif_chanctx() argument 169 struct ieee80211_local *local = sdata->local; in ieee80211_assign_vif_chanctx() 174 ret = drv_assign_vif_chanctx(local, sdata, ctx); in ieee80211_assign_vif_chanctx() 178 rcu_assign_pointer(sdata->vif.chanctx_conf, &ctx->conf); in ieee80211_assign_vif_chanctx() 181 ieee80211_recalc_txpower(sdata); in ieee80211_assign_vif_chanctx() 182 sdata->vif.bss_conf.idle = false; in ieee80211_assign_vif_chanctx() 184 if (sdata->vif.type != NL80211_IFTYPE_P2P_DEVICE && in ieee80211_assign_vif_chanctx() [all …]
|
D | sta_info.c | 98 struct ieee80211_sub_if_data *sdata = sta->sdata; in cleanup_single_sta() local 99 struct ieee80211_local *local = sdata->local; in cleanup_single_sta() 120 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in cleanup_single_sta() 121 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in cleanup_single_sta() 122 ps = &sdata->bss->ps; in cleanup_single_sta() 123 else if (ieee80211_vif_is_mesh(&sdata->vif)) in cleanup_single_sta() 124 ps = &sdata->u.mesh.ps; in cleanup_single_sta() 140 if (ieee80211_vif_is_mesh(&sdata->vif)) in cleanup_single_sta() 162 void ieee80211_cleanup_sdata_stas(struct ieee80211_sub_if_data *sdata) in ieee80211_cleanup_sdata_stas() argument 166 spin_lock_bh(&sdata->cleanup_stations_lock); in ieee80211_cleanup_sdata_stas() [all …]
|
D | agg-tx.c | 62 static void ieee80211_send_addba_request(struct ieee80211_sub_if_data *sdata, in ieee80211_send_addba_request() argument 67 struct ieee80211_local *local = sdata->local; in ieee80211_send_addba_request() 81 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request() 82 if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_send_addba_request() 83 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in ieee80211_send_addba_request() 84 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) in ieee80211_send_addba_request() 85 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request() 86 else if (sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_send_addba_request() 87 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_request() 88 else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_send_addba_request() [all …]
|
D | mesh_hwmp.c | 91 msecs_to_jiffies(sdata->u.mesh.mshcfg.min_discovery_timeout) 93 msecs_to_jiffies(sdata->u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval) 111 struct ieee80211_sub_if_data *sdata) in mesh_path_sel_frame_tx() argument 113 struct ieee80211_local *local = sdata->local; in mesh_path_sel_frame_tx() 132 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_path_sel_frame_tx() 134 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_path_sel_frame_tx() 141 mhwmp_dbg(sdata, "sending PREQ to %pM\n", target); in mesh_path_sel_frame_tx() 147 mhwmp_dbg(sdata, "sending PREP to %pM\n", orig_addr); in mesh_path_sel_frame_tx() 153 mhwmp_dbg(sdata, "sending RANN from %pM\n", orig_addr); in mesh_path_sel_frame_tx() 200 ieee80211_tx_skb(sdata, skb); in mesh_path_sel_frame_tx() [all …]
|
D | offchannel.c | 27 static void ieee80211_offchannel_ps_enable(struct ieee80211_sub_if_data *sdata) in ieee80211_offchannel_ps_enable() argument 29 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable() 30 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_offchannel_ps_enable() 60 ieee80211_send_nullfunc(local, sdata, 1); in ieee80211_offchannel_ps_enable() 64 static void ieee80211_offchannel_ps_disable(struct ieee80211_sub_if_data *sdata) in ieee80211_offchannel_ps_disable() argument 66 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_disable() 69 ieee80211_send_nullfunc(local, sdata, 0); in ieee80211_offchannel_ps_disable() 96 ieee80211_send_nullfunc(local, sdata, 0); in ieee80211_offchannel_ps_disable() 101 ieee80211_sta_reset_beacon_monitor(sdata); in ieee80211_offchannel_ps_disable() 102 ieee80211_sta_reset_conn_monitor(sdata); in ieee80211_offchannel_ps_disable() [all …]
|
D | util.c | 169 struct ieee80211_sub_if_data *sdata; in ieee80211_generic_frame_duration() local 176 sdata = vif_to_sdata(vif); in ieee80211_generic_frame_duration() 177 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_generic_frame_duration() 178 if (sdata->flags & IEEE80211_SDATA_OPERATING_GMODE) in ieee80211_generic_frame_duration() 195 struct ieee80211_sub_if_data *sdata; in ieee80211_rts_duration() local 209 sdata = vif_to_sdata(vif); in ieee80211_rts_duration() 210 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_rts_duration() 211 if (sdata->flags & IEEE80211_SDATA_OPERATING_GMODE) in ieee80211_rts_duration() 236 struct ieee80211_sub_if_data *sdata; in ieee80211_ctstoself_duration() local 249 sdata = vif_to_sdata(vif); in ieee80211_ctstoself_duration() [all …]
|
D | rx.c | 366 struct ieee80211_sub_if_data *sdata; in ieee80211_rx_monitor() local 441 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee80211_rx_monitor() 442 if (sdata->vif.type != NL80211_IFTYPE_MONITOR) in ieee80211_rx_monitor() 445 if (sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES) in ieee80211_rx_monitor() 448 if (!ieee80211_sdata_running(sdata)) in ieee80211_rx_monitor() 459 prev_dev = sdata->dev; in ieee80211_rx_monitor() 460 sdata->dev->stats.rx_packets++; in ieee80211_rx_monitor() 461 sdata->dev->stats.rx_bytes += skb->len; in ieee80211_rx_monitor() 597 char *dev_addr = rx->sdata->vif.addr; in ieee80211_rx_mesh_check() 651 static void ieee80211_release_reorder_frame(struct ieee80211_sub_if_data *sdata, in ieee80211_release_reorder_frame() argument [all …]
|
D | ht.c | 22 static void __check_htcap_disable(struct ieee80211_sub_if_data *sdata, in __check_htcap_disable() argument 27 if (sdata->u.mgd.ht_capa_mask.cap_info & le_flag) { in __check_htcap_disable() 28 if (!(sdata->u.mgd.ht_capa.cap_info & le_flag)) in __check_htcap_disable() 33 void ieee80211_apply_htcap_overrides(struct ieee80211_sub_if_data *sdata, in ieee80211_apply_htcap_overrides() argument 36 u8 *scaps = (u8 *)(&sdata->u.mgd.ht_capa.mcs.rx_mask); in ieee80211_apply_htcap_overrides() 37 u8 *smask = (u8 *)(&sdata->u.mgd.ht_capa_mask.mcs.rx_mask); in ieee80211_apply_htcap_overrides() 58 __check_htcap_disable(sdata, ht_cap, IEEE80211_HT_CAP_SUP_WIDTH_20_40); in ieee80211_apply_htcap_overrides() 59 __check_htcap_disable(sdata, ht_cap, IEEE80211_HT_CAP_SGI_40); in ieee80211_apply_htcap_overrides() 62 __check_htcap_disable(sdata, ht_cap, IEEE80211_HT_CAP_SGI_20); in ieee80211_apply_htcap_overrides() 65 __check_htcap_disable(sdata, ht_cap, IEEE80211_HT_CAP_MAX_AMSDU); in ieee80211_apply_htcap_overrides() [all …]
|
D | mesh_pathtbl.c | 187 static u32 mesh_table_hash(const u8 *addr, struct ieee80211_sub_if_data *sdata, in mesh_table_hash() argument 191 return jhash_2words(*(u32 *)(addr+2), sdata->dev->ifindex, in mesh_table_hash() 217 memcpy(hdr->addr2, mpath->sdata->vif.addr, ETH_ALEN); in mesh_path_assign_nexthop() 218 ieee80211_mps_set_frame_flags(sta->sdata, sta, hdr); in mesh_path_assign_nexthop() 260 memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN); in prepare_for_gate() 302 mpath_dbg(gate_mpath->sdata, "mpath queue full!\n"); in mesh_path_move_to_queue() 320 mpath_dbg(gate_mpath->sdata, "Mpath queue for gate %pM has %d frames\n", in mesh_path_move_to_queue() 333 struct ieee80211_sub_if_data *sdata) in mpath_lookup() argument 339 bucket = &tbl->hash_buckets[mesh_table_hash(dst, sdata, tbl)]; in mpath_lookup() 342 if (mpath->sdata == sdata && in mpath_lookup() [all …]
|
D | tx.c | 125 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) in ieee80211_duration() 131 if (tx->sdata->flags & IEEE80211_SDATA_OPERATING_GMODE) in ieee80211_duration() 165 tx->sdata->vif.bss_conf.use_short_preamble); in ieee80211_duration() 174 tx->sdata->vif.bss_conf.use_short_preamble); in ieee80211_duration() 211 if (tx->sdata->vif.type != NL80211_IFTYPE_STATION) in ieee80211_tx_h_dynamic_ps() 214 ifmgd = &tx->sdata->u.mgd; in ieee80211_tx_h_dynamic_ps() 265 test_bit(SDATA_STATE_OFFCHANNEL, &tx->sdata->state) && in ieee80211_tx_h_check_assoc() 281 if (tx->sdata->vif.type == NL80211_IFTYPE_WDS) in ieee80211_tx_h_check_assoc() 284 if (tx->sdata->vif.type == NL80211_IFTYPE_MESH_POINT) in ieee80211_tx_h_check_assoc() 297 sdata_info(tx->sdata, in ieee80211_tx_h_check_assoc() [all …]
|
D | mesh_ps.c | 21 struct ieee80211_sub_if_data *sdata = sta->sdata; in mps_qos_null_get() local 22 struct ieee80211_local *local = sdata->local; in mps_qos_null_get() 36 sdata->vif.addr); in mps_qos_null_get() 42 ieee80211_mps_set_frame_flags(sdata, sta, nullfunc); in mps_qos_null_get() 58 mps_dbg(sta->sdata, "announcing peer-specific power mode to %pM\n", in mps_qos_null_tx() 68 ieee80211_tx_skb(sta->sdata, skb); in mps_qos_null_tx() 79 u32 ieee80211_mps_local_status_update(struct ieee80211_sub_if_data *sdata) in ieee80211_mps_local_status_update() argument 81 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mps_local_status_update() 90 list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) { in ieee80211_mps_local_status_update() 91 if (sdata != sta->sdata) in ieee80211_mps_local_status_update() [all …]
|
D | mesh_sync.c | 49 void mesh_sync_adjust_tbtt(struct ieee80211_sub_if_data *sdata) in mesh_sync_adjust_tbtt() argument 51 struct ieee80211_local *local = sdata->local; in mesh_sync_adjust_tbtt() 52 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_adjust_tbtt() 54 u64 beacon_int_fraction = sdata->vif.bss_conf.beacon_int * 1024 / 2500; in mesh_sync_adjust_tbtt() 60 msync_dbg(sdata, "TBTT : max clockdrift=%lld; adjusting\n", in mesh_sync_adjust_tbtt() 65 msync_dbg(sdata, "TBTT : max clockdrift=%lld; adjusting by %llu\n", in mesh_sync_adjust_tbtt() 73 tsf = drv_get_tsf(local, sdata); in mesh_sync_adjust_tbtt() 75 drv_set_tsf(local, sdata, tsf + tsfdelta); in mesh_sync_adjust_tbtt() 78 static void mesh_sync_offset_rx_bcn_presp(struct ieee80211_sub_if_data *sdata, in mesh_sync_offset_rx_bcn_presp() argument 84 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_offset_rx_bcn_presp() [all …]
|
D | ieee80211_i.h | 156 struct ieee80211_sub_if_data *sdata; member 209 struct ieee80211_sub_if_data *sdata; member 308 struct ieee80211_sub_if_data *sdata; member 533 void (*rx_bcn_presp)(struct ieee80211_sub_if_data *sdata, 538 void (*adjust_tbtt)(struct ieee80211_sub_if_data *sdata); 782 ieee80211_get_sdata_band(struct ieee80211_sub_if_data *sdata) in ieee80211_get_sdata_band() argument 788 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sdata_band() 1240 void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, 1243 u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata); 1246 void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata); [all …]
|
D | wme.c | 55 static u16 ieee80211_downgrade_queue(struct ieee80211_sub_if_data *sdata, in ieee80211_downgrade_queue() argument 59 while (unlikely(sdata->wmm_acm & BIT(skb->priority))) { in ieee80211_downgrade_queue() 76 u16 ieee80211_select_queue_80211(struct ieee80211_sub_if_data *sdata, in ieee80211_select_queue_80211() argument 80 struct ieee80211_local *local = sdata->local; in ieee80211_select_queue_80211() 98 return ieee80211_downgrade_queue(sdata, skb); in ieee80211_select_queue_80211() 102 u16 ieee80211_select_queue(struct ieee80211_sub_if_data *sdata, in ieee80211_select_queue() argument 105 struct ieee80211_local *local = sdata->local; in ieee80211_select_queue() 116 switch (sdata->vif.type) { in ieee80211_select_queue() 118 sta = rcu_dereference(sdata->u.vlan.sta); in ieee80211_select_queue() 127 ra = sdata->u.wds.remote_addr; in ieee80211_select_queue() [all …]
|