/linux-4.4.14/net/mac80211/ |
D | sta_info.c | 79 struct sta_info *sta) in sta_info_hash_del() argument 81 return rhashtable_remove_fast(&local->sta_hash, &sta->hash_node, in sta_info_hash_del() 85 static void __cleanup_single_sta(struct sta_info *sta) in __cleanup_single_sta() argument 89 struct ieee80211_sub_if_data *sdata = sta->sdata; in __cleanup_single_sta() 93 if (test_sta_flag(sta, WLAN_STA_PS_STA) || in __cleanup_single_sta() 94 test_sta_flag(sta, WLAN_STA_PS_DRIVER) || in __cleanup_single_sta() 95 test_sta_flag(sta, WLAN_STA_PS_DELIVER)) { in __cleanup_single_sta() 96 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in __cleanup_single_sta() 97 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in __cleanup_single_sta() 104 clear_sta_flag(sta, WLAN_STA_PS_STA); in __cleanup_single_sta() [all …]
|
D | mesh_plink.c | 59 struct sta_info *sta) in rssi_threshold_check() argument 63 (sta && in rssi_threshold_check() 64 (s8)-ewma_signal_read(&sta->rx_stats.avg_signal) > in rssi_threshold_check() 75 static inline void mesh_plink_fsm_restart(struct sta_info *sta) in mesh_plink_fsm_restart() argument 77 lockdep_assert_held(&sta->mesh->plink_lock); in mesh_plink_fsm_restart() 78 sta->mesh->plink_state = NL80211_PLINK_LISTEN; in mesh_plink_fsm_restart() 79 sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart() 80 sta->mesh->plink_retries = 0; in mesh_plink_fsm_restart() 98 struct sta_info *sta; in mesh_set_short_slot_time() local 118 list_for_each_entry_rcu(sta, &local->sta_list, list) { in mesh_set_short_slot_time() [all …]
|
D | mesh_ps.c | 19 static struct sk_buff *mps_qos_null_get(struct sta_info *sta) in mps_qos_null_get() argument 21 struct ieee80211_sub_if_data *sdata = sta->sdata; in mps_qos_null_get() 35 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get() 41 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get() 43 ieee80211_mps_set_frame_flags(sdata, sta, nullfunc); in mps_qos_null_get() 51 static void mps_qos_null_tx(struct sta_info *sta) in mps_qos_null_tx() argument 55 skb = mps_qos_null_get(sta); in mps_qos_null_tx() 59 mps_dbg(sta->sdata, "announcing peer-specific power mode to %pM\n", in mps_qos_null_tx() 60 sta->sta.addr); in mps_qos_null_tx() 63 if (!test_sta_flag(sta, WLAN_STA_PS_STA)) { in mps_qos_null_tx() [all …]
|
D | agg-tx.c | 145 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument 148 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ieee80211_assign_tid_tx() 149 lockdep_assert_held(&sta->lock); in ieee80211_assign_tid_tx() 150 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx() 193 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) in ieee80211_agg_stop_txq() argument 195 struct ieee80211_txq *txq = sta->sta.txq[tid]; in ieee80211_agg_stop_txq() 210 ieee80211_agg_start_txq(struct sta_info *sta, int tid, bool enable) in ieee80211_agg_start_txq() argument 212 struct ieee80211_txq *txq = sta->sta.txq[tid]; in ieee80211_agg_start_txq() 226 drv_wake_tx_queue(sta->sdata->local, txqi); in ieee80211_agg_start_txq() 263 static void ieee80211_remove_tid_tx(struct sta_info *sta, int tid) in ieee80211_remove_tid_tx() argument [all …]
|
D | rate.h | 29 struct sta_info *sta, 34 struct sta_info *sta, in rate_control_tx_status() argument 38 struct ieee80211_sta *ista = &sta->sta; in rate_control_tx_status() 39 void *priv_sta = sta->rate_ctrl_priv; in rate_control_tx_status() 42 if (!ref || !test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) in rate_control_tx_status() 45 spin_lock_bh(&sta->rate_ctrl_lock); in rate_control_tx_status() 50 spin_unlock_bh(&sta->rate_ctrl_lock); in rate_control_tx_status() 56 struct sta_info *sta, in rate_control_tx_status_noskb() argument 60 struct ieee80211_sta *ista = &sta->sta; in rate_control_tx_status_noskb() 61 void *priv_sta = sta->rate_ctrl_priv; in rate_control_tx_status_noskb() [all …]
|
D | agg-rx.c | 59 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in ___ieee80211_stop_rx_ba_session() argument 62 struct ieee80211_local *local = sta->local; in ___ieee80211_stop_rx_ba_session() 65 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ___ieee80211_stop_rx_ba_session() 67 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in ___ieee80211_stop_rx_ba_session() 68 lockdep_is_held(&sta->ampdu_mlme.mtx)); in ___ieee80211_stop_rx_ba_session() 73 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); in ___ieee80211_stop_rx_ba_session() 75 ht_dbg(sta->sdata, in ___ieee80211_stop_rx_ba_session() 77 sta->sta.addr, tid, in ___ieee80211_stop_rx_ba_session() 81 if (drv_ampdu_action(local, sta->sdata, IEEE80211_AMPDU_RX_STOP, in ___ieee80211_stop_rx_ba_session() 82 &sta->sta, tid, NULL, 0, false)) in ___ieee80211_stop_rx_ba_session() [all …]
|
D | vht.c | 118 struct sta_info *sta) in ieee80211_vht_cap_ie_to_sta_vht_cap() argument 120 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap() 127 if (!sta->sta.ht_cap.ht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap() 164 !test_sta_flag(sta, WLAN_STA_TDLS_PEER)) in ieee80211_vht_cap_ie_to_sta_vht_cap() 274 sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_160; in ieee80211_vht_cap_ie_to_sta_vht_cap() 277 sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_80; in ieee80211_vht_cap_ie_to_sta_vht_cap() 280 sta->sta.bandwidth = ieee80211_sta_cur_vht_bw(sta); in ieee80211_vht_cap_ie_to_sta_vht_cap() 283 enum ieee80211_sta_rx_bandwidth ieee80211_sta_cap_rx_bw(struct sta_info *sta) in ieee80211_sta_cap_rx_bw() argument 285 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap; in ieee80211_sta_cap_rx_bw() 289 return sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ? in ieee80211_sta_cap_rx_bw() [all …]
|
D | debugfs_sta.c | 27 struct sta_info *sta = file->private_data; \ 29 format_string, sta->field); \ 52 STA_FILE(aid, sta.aid, D); 58 struct sta_info *sta = file->private_data; in sta_flags_read() local 61 test_sta_flag(sta, WLAN_STA_##flg) ? #flg "\n" : "" in sta_flags_read() 68 sta->sta.wme ? "WME\n" : "", in sta_flags_read() 86 struct sta_info *sta = file->private_data; in sta_num_ps_buf_frames_read() local 92 skb_queue_len(&sta->ps_tx_buf[ac]) + in sta_num_ps_buf_frames_read() 93 skb_queue_len(&sta->tx_filtered[ac])); in sta_num_ps_buf_frames_read() 103 struct sta_info *sta = file->private_data; in sta_last_seq_ctrl_read() local [all …]
|
D | status.c | 47 struct sta_info *sta, in ieee80211_handle_filtered_frame() argument 65 info->control.vif = &sta->sdata->vif; in ieee80211_handle_filtered_frame() 70 sta->status_stats.filtered++; in ieee80211_handle_filtered_frame() 103 set_sta_flag(sta, WLAN_STA_CLEAR_PS_FILT); in ieee80211_handle_filtered_frame() 104 ieee80211_clear_fast_xmit(sta); in ieee80211_handle_filtered_frame() 140 if (test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame() 141 skb_queue_len(&sta->tx_filtered[ac]) < STA_MAX_TX_BUFFER) { in ieee80211_handle_filtered_frame() 142 skb_queue_tail(&sta->tx_filtered[ac], skb); in ieee80211_handle_filtered_frame() 143 sta_info_recalc_tim(sta); in ieee80211_handle_filtered_frame() 152 if (!test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame() [all …]
|
D | mesh_sync.c | 86 struct sta_info *sta; in mesh_sync_offset_rx_bcn_presp() local 111 sta = sta_info_get(sdata, mgmt->sa); in mesh_sync_offset_rx_bcn_presp() 112 if (!sta) in mesh_sync_offset_rx_bcn_presp() 122 clear_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN); in mesh_sync_offset_rx_bcn_presp() 124 sta->sta.addr); in mesh_sync_offset_rx_bcn_presp() 130 sta->mesh->t_offset = t_t - t_r; in mesh_sync_offset_rx_bcn_presp() 132 if (test_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN)) { in mesh_sync_offset_rx_bcn_presp() 133 s64 t_clockdrift = sta->mesh->t_offset_setpoint - sta->mesh->t_offset; in mesh_sync_offset_rx_bcn_presp() 136 sta->sta.addr, (long long) sta->mesh->t_offset, in mesh_sync_offset_rx_bcn_presp() 137 (long long) sta->mesh->t_offset_setpoint, in mesh_sync_offset_rx_bcn_presp() [all …]
|
D | sta_info.h | 497 struct ieee80211_sta sta; member 500 static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta) in sta_plink_state() argument 503 return sta->mesh->plink_state; in sta_plink_state() 508 static inline void set_sta_flag(struct sta_info *sta, in set_sta_flag() argument 514 set_bit(flag, &sta->_flags); in set_sta_flag() 517 static inline void clear_sta_flag(struct sta_info *sta, in clear_sta_flag() argument 523 clear_bit(flag, &sta->_flags); in clear_sta_flag() 526 static inline int test_sta_flag(struct sta_info *sta, in test_sta_flag() argument 529 return test_bit(flag, &sta->_flags); in test_sta_flag() 532 static inline int test_and_clear_sta_flag(struct sta_info *sta, in test_and_clear_sta_flag() argument [all …]
|
D | ocb.c | 50 struct sta_info *sta; in ieee80211_ocb_rx_no_sta() local 74 sta = sta_info_alloc(sdata, addr, GFP_ATOMIC); in ieee80211_ocb_rx_no_sta() 75 if (!sta) in ieee80211_ocb_rx_no_sta() 78 sta->rx_stats.last_rx = jiffies; in ieee80211_ocb_rx_no_sta() 82 sta->sta.supp_rates[band] = in ieee80211_ocb_rx_no_sta() 86 list_add(&sta->list, &ifocb->incomplete_stations); in ieee80211_ocb_rx_no_sta() 91 static struct sta_info *ieee80211_ocb_finish_sta(struct sta_info *sta) in ieee80211_ocb_finish_sta() argument 94 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_ocb_finish_sta() 97 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ocb_finish_sta() 102 sta_info_move_state(sta, IEEE80211_STA_AUTH); in ieee80211_ocb_finish_sta() [all …]
|
D | tdls.c | 300 struct sta_info *sta) in ieee80211_tdls_chandef_vht_upgrade() argument 304 struct cfg80211_chan_def uc = sta->tdls_chandef; in ieee80211_tdls_chandef_vht_upgrade() 305 enum nl80211_chan_width max_width = ieee80211_get_sta_bw(&sta->sta); in ieee80211_tdls_chandef_vht_upgrade() 340 if (!cfg80211_chandef_identical(&uc, &sta->tdls_chandef)) { in ieee80211_tdls_chandef_vht_upgrade() 342 sta->tdls_chandef.width, uc.width); in ieee80211_tdls_chandef_vht_upgrade() 348 sta->tdls_chandef = uc; in ieee80211_tdls_chandef_vht_upgrade() 363 struct sta_info *sta = NULL; in ieee80211_tdls_add_setup_start_ies() local 423 sta = sta_info_get(sdata, peer); in ieee80211_tdls_add_setup_start_ies() 424 if (WARN_ON_ONCE(!sta)) { in ieee80211_tdls_add_setup_start_ies() 429 sta->tdls_chandef = sdata->vif.bss_conf.chandef; in ieee80211_tdls_add_setup_start_ies() [all …]
|
D | wme.c | 87 struct sta_info *sta, struct sk_buff *skb) in ieee80211_downgrade_queue() argument 111 if (sta && sta->reserved_tid == skb->priority) in ieee80211_downgrade_queue() 149 struct sta_info *sta = NULL; in ieee80211_select_queue() local 163 sta = rcu_dereference(sdata->u.vlan.sta); in ieee80211_select_queue() 164 if (sta) { in ieee80211_select_queue() 165 qos = sta->sta.wme; in ieee80211_select_queue() 181 sta = sta_info_get(sdata, skb->data); in ieee80211_select_queue() 182 if (sta) in ieee80211_select_queue() 183 qos = sta->sta.wme; in ieee80211_select_queue() 198 if (!sta && ra && !is_multicast_ether_addr(ra)) { in ieee80211_select_queue() [all …]
|
D | rate.c | 32 void rate_control_rate_init(struct sta_info *sta) in rate_control_rate_init() argument 34 struct ieee80211_local *local = sta->sdata->local; in rate_control_rate_init() 35 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init() 36 struct ieee80211_sta *ista = &sta->sta; in rate_control_rate_init() 37 void *priv_sta = sta->rate_ctrl_priv; in rate_control_rate_init() 41 ieee80211_sta_set_rx_nss(sta); in rate_control_rate_init() 48 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_init() 56 spin_lock_bh(&sta->rate_ctrl_lock); in rate_control_rate_init() 59 spin_unlock_bh(&sta->rate_ctrl_lock); in rate_control_rate_init() 61 set_sta_flag(sta, WLAN_STA_RATE_CONTROL); in rate_control_rate_init() [all …]
|
D | ht.c | 133 struct sta_info *sta) in ieee80211_ht_cap_ie_to_sta_ht_cap() argument 234 changed = memcmp(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap() 236 memcpy(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap() 255 sta->sta.bandwidth = bw; in ieee80211_ht_cap_ie_to_sta_ht_cap() 257 sta->cur_max_bandwidth = in ieee80211_ht_cap_ie_to_sta_ht_cap() 275 if (smps_mode != sta->sta.smps_mode) in ieee80211_ht_cap_ie_to_sta_ht_cap() 277 sta->sta.smps_mode = smps_mode; in ieee80211_ht_cap_ie_to_sta_ht_cap() 282 void ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta, in ieee80211_sta_tear_down_BA_sessions() argument 287 cancel_work_sync(&sta->ampdu_mlme.work); in ieee80211_sta_tear_down_BA_sessions() 290 __ieee80211_stop_tx_ba_session(sta, i, reason); in ieee80211_sta_tear_down_BA_sessions() [all …]
|
D | ethtool.c | 71 struct sta_info *sta; in ieee80211_get_stats() local 80 #define ADD_STA_STATS(sta) \ in ieee80211_get_stats() argument 82 data[i++] += sta->rx_stats.packets; \ in ieee80211_get_stats() 83 data[i++] += sta->rx_stats.bytes; \ in ieee80211_get_stats() 84 data[i++] += sta->rx_stats.num_duplicates; \ in ieee80211_get_stats() 85 data[i++] += sta->rx_stats.fragments; \ in ieee80211_get_stats() 86 data[i++] += sta->rx_stats.dropped; \ in ieee80211_get_stats() 90 data[i++] += sta->status_stats.filtered; \ in ieee80211_get_stats() 91 data[i++] += sta->status_stats.retry_failed; \ in ieee80211_get_stats() 92 data[i++] += sta->status_stats.retry_count; \ in ieee80211_get_stats() [all …]
|
D | tx.c | 317 if (tx->sta) in ieee80211_tx_h_check_assoc() 318 assoc = test_sta_flag(tx->sta, WLAN_STA_ASSOC); in ieee80211_tx_h_check_assoc() 353 struct sta_info *sta; in purge_old_ps_buffers() local 377 list_for_each_entry_rcu(sta, &local->sta_list, list) { in purge_old_ps_buffers() 381 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 382 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 460 static int ieee80211_use_mfp(__le16 fc, struct sta_info *sta, in ieee80211_use_mfp() argument 466 if (sta == NULL || !test_sta_flag(sta, WLAN_STA_MFP)) in ieee80211_use_mfp() 478 struct sta_info *sta = tx->sta; in ieee80211_tx_h_unicast_ps_buf() local 483 if (unlikely(!sta)) in ieee80211_tx_h_unicast_ps_buf() [all …]
|
D | rx.c | 768 if (!rx->sta || sta_plink_state(rx->sta) != NL80211_PLINK_ESTAB) { in ieee80211_rx_mesh_check() 1033 struct sta_info *sta = rx->sta; in ieee80211_rx_reorder_ampdu() local 1047 if (!sta) in ieee80211_rx_reorder_ampdu() 1054 tid_agg_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]); in ieee80211_rx_reorder_ampdu() 1116 if (!rx->sta) in ieee80211_rx_h_check_dup() 1120 rx->sta->last_seq_ctrl[rx->seqno_idx] == hdr->seq_ctrl)) { in ieee80211_rx_h_check_dup() 1122 rx->sta->rx_stats.num_duplicates++; in ieee80211_rx_h_check_dup() 1125 rx->sta->last_seq_ctrl[rx->seqno_idx] = hdr->seq_ctrl; in ieee80211_rx_h_check_dup() 1153 (!rx->sta || !test_sta_flag(rx->sta, WLAN_STA_ASSOC)))) { in ieee80211_rx_h_check() 1159 if (rx->sta && rx->sdata->vif.type == NL80211_IFTYPE_STATION && in ieee80211_rx_h_check() [all …]
|
D | pm.c | 20 struct sta_info *sta; in __ieee80211_suspend() local 36 list_for_each_entry(sta, &local->sta_list, list) { in __ieee80211_suspend() 37 set_sta_flag(sta, WLAN_STA_BLOCK_BA); in __ieee80211_suspend() 39 sta, AGG_STOP_LOCAL_REQUEST); in __ieee80211_suspend() 115 list_for_each_entry(sta, in __ieee80211_suspend() 117 clear_sta_flag(sta, WLAN_STA_BLOCK_BA); in __ieee80211_suspend() 155 sta = sdata->u.wds.sta; in __ieee80211_suspend() 156 if (sta && sta->uploaded) { in __ieee80211_suspend() 159 state = sta->sta_state; in __ieee80211_suspend() 161 WARN_ON(drv_sta_state(local, sta->sdata, in __ieee80211_suspend() [all …]
|
D | cfg.c | 69 RCU_INIT_POINTER(sdata->u.vlan.sta, NULL); in ieee80211_change_iface() 151 struct sta_info *sta = NULL; in ieee80211_add_key() local 194 sta = sta_info_get(sdata, mac_addr); in ieee80211_add_key() 196 sta = sta_info_get_bss(sdata, mac_addr); in ieee80211_add_key() 207 if (!sta || !test_sta_flag(sta, WLAN_STA_ASSOC)) { in ieee80211_add_key() 222 if (key->sta && test_sta_flag(key->sta, WLAN_STA_MFP)) in ieee80211_add_key() 247 if (sta) in ieee80211_add_key() 248 sta->cipher_scheme = cs; in ieee80211_add_key() 250 err = ieee80211_key_link(key, sdata, sta); in ieee80211_add_key() 263 struct sta_info *sta; in ieee80211_del_key() local [all …]
|
D | ibss.c | 578 static struct sta_info *ieee80211_ibss_finish_sta(struct sta_info *sta) in ieee80211_ibss_finish_sta() argument 581 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_ibss_finish_sta() 584 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ibss_finish_sta() 588 sta_info_pre_move_state(sta, IEEE80211_STA_AUTH); in ieee80211_ibss_finish_sta() 589 sta_info_pre_move_state(sta, IEEE80211_STA_ASSOC); in ieee80211_ibss_finish_sta() 592 if (!sta->sdata->u.ibss.control_port) in ieee80211_ibss_finish_sta() 593 sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED); in ieee80211_ibss_finish_sta() 595 rate_control_rate_init(sta); in ieee80211_ibss_finish_sta() 598 if (sta_info_insert_rcu(sta)) in ieee80211_ibss_finish_sta() 600 return sta; in ieee80211_ibss_finish_sta() [all …]
|
D | driver-ops.h | 208 struct ieee80211_sta *sta, bool set) in drv_set_tim() argument 211 trace_drv_set_tim(local, sta, set); in drv_set_tim() 213 ret = local->ops->set_tim(&local->hw, sta, set); in drv_set_tim() 221 struct ieee80211_sta *sta, in drv_set_key() argument 232 trace_drv_set_key(local, cmd, sdata, sta, key); in drv_set_key() 233 ret = local->ops->set_key(&local->hw, cmd, &sdata->vif, sta, key); in drv_set_key() 241 struct sta_info *sta, u32 iv32, in drv_update_tkip_key() argument 246 if (sta) in drv_update_tkip_key() 247 ista = &sta->sta; in drv_update_tkip_key() 420 struct ieee80211_sta *sta) in drv_sta_notify() argument [all …]
|
D | key.c | 128 struct sta_info *sta; in ieee80211_key_enable_hw_accel() local 150 sta = key->sta; in ieee80211_key_enable_hw_accel() 156 if (sta && !(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE) && in ieee80211_key_enable_hw_accel() 160 if (sta && !sta->uploaded) in ieee80211_key_enable_hw_accel() 174 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_enable_hw_accel() 193 sta ? sta->sta.addr : bcast_addr, ret); in ieee80211_key_enable_hw_accel() 222 struct sta_info *sta; in ieee80211_key_disable_hw_accel() local 235 sta = key->sta; in ieee80211_key_disable_hw_accel() 243 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_disable_hw_accel() 249 sta ? sta->sta.addr : bcast_addr, ret); in ieee80211_key_disable_hw_accel() [all …]
|
D | driver-ops.c | 112 struct sta_info *sta, in drv_sta_state() argument 124 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state() 126 ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta, in drv_sta_state() 130 ret = drv_sta_add(local, sdata, &sta->sta); in drv_sta_state() 132 sta->uploaded = true; in drv_sta_state() 135 drv_sta_remove(local, sdata, &sta->sta); in drv_sta_state() 143 struct ieee80211_sta *sta, u32 changed) in drv_sta_rc_update() argument 153 trace_drv_sta_rc_update(local, sdata, sta, changed); in drv_sta_rc_update() 156 sta, changed); in drv_sta_rc_update() 288 struct ieee80211_sta *sta, u16 tid, in drv_ampdu_action() argument [all …]
|
D | mesh.h | 238 struct sta_info *sta, struct sk_buff *skb); 250 u32 ieee80211_mps_set_sta_local_pm(struct sta_info *sta, 253 struct sta_info *sta, 255 void ieee80211_mps_sta_status_update(struct sta_info *sta); 256 void ieee80211_mps_rx_h_sta_process(struct sta_info *sta, 258 void ieee80211_mpsp_trigger_process(u8 *qc, struct sta_info *sta, 260 void ieee80211_mps_frame_release(struct sta_info *sta, 295 void mesh_plink_broken(struct sta_info *sta); 296 u32 mesh_plink_deactivate(struct sta_info *sta); 297 u32 mesh_plink_open(struct sta_info *sta); [all …]
|
D | debugfs_sta.h | 7 void ieee80211_sta_debugfs_add(struct sta_info *sta); 8 void ieee80211_sta_debugfs_remove(struct sta_info *sta); 10 static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {} in ieee80211_sta_debugfs_add() argument 11 static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {} in ieee80211_sta_debugfs_remove() argument
|
D | trace.h | 18 #define STA_ASSIGN (sta ? memcpy(__entry->sta_addr, sta->addr, ETH_ALEN) : memset(__entry->sta_addr… 530 struct ieee80211_sta *sta, bool set), 532 TP_ARGS(local, sta, set), 555 struct ieee80211_sta *sta, 558 TP_ARGS(local, cmd, sdata, sta, key), 584 struct ieee80211_sta *sta, u32 iv32), 586 TP_ARGS(local, sdata, conf, sta, iv32), 749 struct ieee80211_sta *sta), 751 TP_ARGS(local, sdata, cmd, sta), 776 struct ieee80211_sta *sta, [all …]
|
D | rc80211_minstrel_ht.c | 678 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); in minstrel_aggr_check() local 691 if (likely(sta->ampdu_mlme.tid_tx[tid])) in minstrel_aggr_check() 699 struct ieee80211_sta *sta, void *priv_sta, in minstrel_ht_tx_status() argument 711 return mac80211_minstrel.tx_status_noskb(priv, sband, sta, in minstrel_ht_tx_status() 875 (mi->sta->smps_mode == IEEE80211_SMPS_DYNAMIC && in minstrel_ht_set_rate() 910 rate_control_set_rates(mp->hw, mi->sta, rates); in minstrel_ht_update_rates() 1004 minstrel_ht_get_rate(void *priv, struct ieee80211_sta *sta, void *priv_sta, in minstrel_ht_get_rate() argument 1015 if (rate_control_send_low(sta, priv_sta, txrc)) in minstrel_ht_get_rate() 1019 return mac80211_minstrel.get_rate(priv, sta, &msp->legacy, txrc); in minstrel_ht_get_rate() 1023 minstrel_aggr_check(sta, txrc->skb); in minstrel_ht_get_rate() [all …]
|
D | mesh_hwmp.c | 299 struct sta_info *sta, struct sk_buff *skb) in ieee80211s_update_metric() argument 311 sta->mesh->fail_avg = in ieee80211s_update_metric() 312 ((80 * sta->mesh->fail_avg + 5) / 100 + 20 * failed); in ieee80211s_update_metric() 313 if (sta->mesh->fail_avg > 95) in ieee80211s_update_metric() 314 mesh_plink_broken(sta); in ieee80211s_update_metric() 318 struct sta_info *sta) in airtime_link_metric_get() argument 329 if (sta->mesh->fail_avg >= 100) in airtime_link_metric_get() 332 sta_set_rate_info_tx(sta, &sta->tx_stats.last_rate, &rinfo); in airtime_link_metric_get() 337 err = (sta->mesh->fail_avg << ARITH_SHIFT) / 100; in airtime_link_metric_get() 371 struct sta_info *sta; in hwmp_route_info_get() local [all …]
|
D | ieee80211_i.h | 170 struct sta_info *sta; member 219 struct sta_info *sta; member 298 struct sta_info *sta; member 306 struct sta_info __rcu *sta; member 1644 void ieee80211_check_fast_xmit(struct sta_info *sta); 1647 void ieee80211_clear_fast_xmit(struct sta_info *sta); 1655 struct sta_info *sta); 1667 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, 1669 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, 1671 void __ieee80211_start_rx_ba_session(struct sta_info *sta, [all …]
|
D | key.h | 57 struct sta_info *sta; member 144 struct sta_info *sta); 154 struct sta_info *sta);
|
D | debugfs_key.h | 13 struct sta_info *sta); 29 struct sta_info *sta) in ieee80211_debugfs_key_sta_del() argument
|
D | rc80211_minstrel.c | 153 rate_control_set_rates(mp->hw, mi->sta, ratetbl); in minstrel_update_rates() 265 struct ieee80211_sta *sta, void *priv_sta, in minstrel_tx_status() argument 332 minstrel_get_rate(void *priv, struct ieee80211_sta *sta, in minstrel_get_rate() argument 348 if (rate_control_send_low(sta, priv_sta, txrc)) in minstrel_get_rate() 480 struct ieee80211_sta *sta, void *priv_sta) in minstrel_rate_init() argument 489 mi->sta = sta; in minstrel_rate_init() 490 mi->lowest_rix = rate_lowest_index(sband, sta); in minstrel_rate_init() 509 if (!rate_supported(sta, sband->band, i)) in minstrel_rate_init() 569 minstrel_alloc_sta(void *priv, struct ieee80211_sta *sta, gfp_t gfp) in minstrel_alloc_sta() argument 607 minstrel_free_sta(void *priv, struct ieee80211_sta *sta, void *priv_sta) in minstrel_free_sta() argument
|
D | debugfs_key.c | 333 struct sta_info *sta; in ieee80211_debugfs_key_add() local 347 sta = key->sta; in ieee80211_debugfs_key_add() 348 if (sta) { in ieee80211_debugfs_key_add() 350 sta->sdata->name, sta->sta.addr); in ieee80211_debugfs_key_add() 442 struct sta_info *sta) in ieee80211_debugfs_key_sta_del() argument
|
D | iface.c | 496 struct sta_info *sta; in ieee80211_do_open() local 678 sta = sta_info_alloc(sdata, sdata->u.wds.remote_addr, in ieee80211_do_open() 680 if (!sta) { in ieee80211_do_open() 685 sta_info_pre_move_state(sta, IEEE80211_STA_AUTH); in ieee80211_do_open() 686 sta_info_pre_move_state(sta, IEEE80211_STA_ASSOC); in ieee80211_do_open() 687 sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED); in ieee80211_do_open() 689 res = sta_info_insert(sta); in ieee80211_do_open() 695 rate_control_rate_init(sta); in ieee80211_do_open() 1206 struct sta_info *sta; in ieee80211_iface_work() local 1234 sta = sta_info_get_bss(sdata, rx_agg->addr); in ieee80211_iface_work() [all …]
|
D | chan.c | 193 enum nl80211_chan_width ieee80211_get_sta_bw(struct ieee80211_sta *sta) in ieee80211_get_sta_bw() argument 195 switch (sta->bandwidth) { in ieee80211_get_sta_bw() 197 if (sta->ht_cap.ht_supported) in ieee80211_get_sta_bw() 226 struct sta_info *sta; in ieee80211_get_max_required_bw() local 229 list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) { in ieee80211_get_max_required_bw() 230 if (sdata != sta->sdata && in ieee80211_get_max_required_bw() 231 !(sta->sdata->bss && sta->sdata->bss == sdata->bss)) in ieee80211_get_max_required_bw() 234 if (!sta->uploaded) in ieee80211_get_max_required_bw() 237 max_bw = max(max_bw, ieee80211_get_sta_bw(&sta->sta)); in ieee80211_get_max_required_bw() 571 struct sta_info *sta; in ieee80211_recalc_chanctx_chantype() local [all …]
|
D | mesh_pathtbl.c | 206 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta) in mesh_path_assign_nexthop() argument 212 rcu_assign_pointer(mpath->next_hop, sta); in mesh_path_assign_nexthop() 217 memcpy(hdr->addr1, sta->sta.addr, ETH_ALEN); in mesh_path_assign_nexthop() 219 ieee80211_mps_set_frame_flags(sta->sdata, sta, hdr); in mesh_path_assign_nexthop() 258 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr; in prepare_for_gate() 750 void mesh_plink_broken(struct sta_info *sta) in mesh_plink_broken() argument 756 struct ieee80211_sub_if_data *sdata = sta->sdata; in mesh_plink_broken() 763 if (rcu_access_pointer(mpath->next_hop) == sta && in mesh_plink_broken() 816 void mesh_path_flush_by_nexthop(struct sta_info *sta) in mesh_path_flush_by_nexthop() argument 828 if (rcu_access_pointer(mpath->next_hop) == sta) { in mesh_path_flush_by_nexthop()
|
D | util.c | 668 struct ieee80211_sta *sta), in __iterate_stations() argument 671 struct sta_info *sta; in __iterate_stations() local 673 list_for_each_entry_rcu(sta, &local->sta_list, list) { in __iterate_stations() 674 if (!sta->uploaded) in __iterate_stations() 677 iterator(data, &sta->sta); in __iterate_stations() 683 struct ieee80211_sta *sta), in ieee80211_iterate_stations_atomic() argument 1729 struct sta_info *sta; in ieee80211_reconfig_stations() local 1733 list_for_each_entry(sta, &local->sta_list, list) { in ieee80211_reconfig_stations() 1736 if (!sta->uploaded || sta->sdata != sdata) in ieee80211_reconfig_stations() 1740 state < sta->sta_state; state++) in ieee80211_reconfig_stations() [all …]
|
D | mlme.c | 336 struct sta_info *sta, in ieee80211_config_bw() argument 360 if (WARN_ON_ONCE(!sta)) in ieee80211_config_bw() 437 if (new_sta_bw > sta->cur_max_bandwidth) in ieee80211_config_bw() 438 new_sta_bw = sta->cur_max_bandwidth; in ieee80211_config_bw() 440 if (new_sta_bw < sta->sta.bandwidth) { in ieee80211_config_bw() 441 sta->sta.bandwidth = new_sta_bw; in ieee80211_config_bw() 442 rate_control_rate_update(local, sband, sta, in ieee80211_config_bw() 454 if (new_sta_bw > sta->sta.bandwidth) { in ieee80211_config_bw() 455 sta->sta.bandwidth = new_sta_bw; in ieee80211_config_bw() 456 rate_control_rate_update(local, sband, sta, in ieee80211_config_bw() [all …]
|
D | wpa.c | 274 if (!rx->sta || skb->len - hdrlen < 12) in ieee80211_crypto_tkip_decrypt() 292 skb->len - hdrlen, rx->sta->sta.addr, in ieee80211_crypto_tkip_decrypt() 511 if (!rx->sta || data_len < 0) in ieee80211_crypto_ccmp_decrypt() 737 if (!rx->sta || data_len < 0) in ieee80211_crypto_gcmp_decrypt() 842 if (!rx->sta || !rx->sta->cipher_scheme || in ieee80211_crypto_cs_decrypt() 849 cs = rx->sta->cipher_scheme; in ieee80211_crypto_cs_decrypt() 1244 if (rx->sta && rx->sta->cipher_scheme) in ieee80211_crypto_hw_decrypt()
|
D | rc80211_minstrel_ht.h | 67 struct ieee80211_sta *sta; member
|
D | rc80211_minstrel.h | 96 struct ieee80211_sta *sta; member
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap_ap.c | 55 static struct sta_info* ap_get_sta(struct ap_data *ap, u8 *sta); 57 struct sta_info *sta); 98 static void ap_sta_hash_add(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_add() argument 100 sta->hnext = ap->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_add() 101 ap->sta_hash[STA_HASH(sta->addr)] = sta; in ap_sta_hash_add() 104 static void ap_sta_hash_del(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_del() argument 108 s = ap->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_del() 110 if (ether_addr_equal(s->addr, sta->addr)) { in ap_sta_hash_del() 111 ap->sta_hash[STA_HASH(sta->addr)] = s->hnext; in ap_sta_hash_del() 115 while (s->hnext != NULL && !ether_addr_equal(s->hnext->addr, sta->addr)) in ap_sta_hash_del() [all …]
|
D | hostap_ap.h | 88 } sta; member 110 #define STA_HASH(sta) (sta[5]) argument
|
D | hostap_80211_rx.c | 735 void *sta = NULL; in hostap_80211_rx() local 786 sta = NULL; in hostap_80211_rx() 797 &sta); in hostap_80211_rx() 1105 if (sta) in hostap_80211_rx() 1106 hostap_handle_sta_release(sta); in hostap_80211_rx()
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
D | sta_info.h | 212 #define sta_rx_pkts(sta) \ argument 213 (sta->sta_stats.rx_mgnt_pkts \ 214 + sta->sta_stats.rx_ctrl_pkts \ 215 + sta->sta_stats.rx_data_pkts) 217 #define sta_last_rx_pkts(sta) \ argument 218 (sta->sta_stats.last_rx_mgnt_pkts \ 219 + sta->sta_stats.last_rx_ctrl_pkts \ 220 + sta->sta_stats.last_rx_data_pkts) 222 #define sta_rx_data_pkts(sta) \ argument 223 (sta->sta_stats.rx_data_pkts) [all …]
|
/linux-4.4.14/drivers/staging/rtl8723au/include/ |
D | sta_info.h | 231 #define sta_rx_pkts(sta) \ argument 232 (sta->sta_stats.rx_mgnt_pkts \ 233 + sta->sta_stats.rx_ctrl_pkts \ 234 + sta->sta_stats.rx_data_pkts) 236 #define sta_last_rx_pkts(sta) \ argument 237 (sta->sta_stats.last_rx_mgnt_pkts \ 238 + sta->sta_stats.last_rx_ctrl_pkts \ 239 + sta->sta_stats.last_rx_data_pkts) 241 #define sta_rx_data_pkts(sta) \ argument 242 (sta->sta_stats.rx_data_pkts) [all …]
|
/linux-4.4.14/arch/sparc/mm/ |
D | swift.S | 33 sta %g0, [%o0] ASI_M_DATAC_TAG 35 sta %g0, [%o1] ASI_M_TXTC_TAG 47 sta %g0, [%o0] ASI_M_TXTC_TAG 49 sta %g0, [%o0] ASI_M_DATAC_TAG 66 sta %g2, [%g7] ASI_M_MMUREGS 71 sta %g0, [%o0] ASI_M_FLUSH_CTX 84 1: sta %g0, [%o0 ] ASI_M_FLUSH_CTX 85 sta %g0, [%o0 + %o1] ASI_M_FLUSH_CTX 86 sta %g0, [%o0 + %o2] ASI_M_FLUSH_CTX 87 sta %g0, [%o0 + %o3] ASI_M_FLUSH_CTX [all …]
|
D | hypersparc.S | 34 sta %g0, [%g5] ASI_M_FLUSH_CTX 36 sta %g0, [%g0] ASI_M_FLUSH_IWHOLE ! hyper_flush_whole_icache 62 sta %g0, [%o0 + %g0] ASI_M_FLUSH_USER 63 sta %g0, [%o0 + %o1] ASI_M_FLUSH_USER 64 sta %g0, [%o0 + %g1] ASI_M_FLUSH_USER 65 sta %g0, [%o0 + %g2] ASI_M_FLUSH_USER 66 sta %g0, [%o0 + %g3] ASI_M_FLUSH_USER 67 sta %g0, [%o0 + %g4] ASI_M_FLUSH_USER 68 sta %g0, [%o0 + %g5] ASI_M_FLUSH_USER 70 sta %g0, [%o0 + %o4] ASI_M_FLUSH_USER [all …]
|
D | viking.S | 130 sta %g0, [%g1] ASI_M_FLUSH_PROBE 141 sta %o1, [%g1] ASI_M_MMUREGS 142 sta %g0, [%g2] ASI_M_FLUSH_PROBE 144 sta %g5, [%g1] ASI_M_MMUREGS 160 sta %o3, [%g1] ASI_M_MMUREGS 163 sta %g0, [%o1] ASI_M_FLUSH_PROBE 167 sta %g0, [%o1] ASI_M_FLUSH_PROBE 169 sta %g5, [%g1] ASI_M_MMUREGS 185 sta %o3, [%g1] ASI_M_MMUREGS 186 sta %g0, [%o1] ASI_M_FLUSH_PROBE [all …]
|
D | srmmu_access.S | 25 LEON_PI(sta %o0, [%g0] ASI_LEON_MMUREGS) 26 SUN_PI_(sta %o0, [%g0] ASI_M_MMUREGS) 38 LEON_PI(sta %g1, [%g2] ASI_LEON_MMUREGS) 39 SUN_PI_(sta %g1, [%g2] ASI_M_MMUREGS) 48 LEON_PI(sta %o0, [%g1] ASI_LEON_MMUREGS) 49 SUN_PI_(sta %o0, [%g1] ASI_M_MMUREGS)
|
D | tsunami.S | 35 sta %g0, [%g0] ASI_M_IC_FLCLEAR 36 sta %g0, [%g0] ASI_M_DC_FLCLEAR 56 sta %g0, [%o1] ASI_M_FLUSH_PROBE 75 sta %o3, [%g1] ASI_M_MMUREGS 76 sta %g0, [%o1] ASI_M_FLUSH_PROBE 84 sta %g5, [%g1] ASI_M_MMUREGS 128 sta %g0, [%g0] ASI_M_IC_FLCLEAR 129 sta %g0, [%g0] ASI_M_DC_FLCLEAR
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
D | rc.c | 38 struct ieee80211_sta *sta, in _rtl_rc_get_highest_rix() argument 54 if (sta) { in _rtl_rc_get_highest_rix() 55 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in _rtl_rc_get_highest_rix() 94 struct ieee80211_sta *sta, in _rtl_rc_rate_set_series() argument 105 if (sta) { in _rtl_rc_rate_set_series() 106 sgi_20 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20; in _rtl_rc_rate_set_series() 107 sgi_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40; in _rtl_rc_rate_set_series() 108 sgi_80 = sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_rc_rate_set_series() 109 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in _rtl_rc_rate_set_series() 123 if (sta && (sta->ht_cap.cap & in _rtl_rc_rate_set_series() [all …]
|
D | base.c | 615 struct ieee80211_sta *sta, in _rtl_query_shortgi() argument 625 if (sta == NULL) in _rtl_query_shortgi() 628 sgi_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40; in _rtl_query_shortgi() 629 sgi_20 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20; in _rtl_query_shortgi() 630 sgi_80 = sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_query_shortgi() 632 if ((!sta->ht_cap.ht_supported) && (!sta->vht_cap.vht_supported)) in _rtl_query_shortgi() 644 bw_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40; in _rtl_query_shortgi() 645 bw_80 = sta->vht_cap.vht_supported; in _rtl_query_shortgi() 692 struct ieee80211_sta *sta, in _rtl_txrate_selectmode() argument 700 if (sta) { in _rtl_txrate_selectmode() [all …]
|
D | core.c | 227 if (!rtlpriv->intf_ops->waitq_insert(hw, control->sta, skb)) in rtl_op_tx() 228 rtlpriv->intf_ops->adapter_tx(hw, control->sta, skb, &tcb_desc); in rtl_op_tx() 899 struct ieee80211_sta *sta) in rtl_op_sta_add() argument 906 if (sta) { in rtl_op_sta_add() 907 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_op_sta_add() 913 if (sta->supp_rates[0] <= 0xf) in rtl_op_sta_add() 915 if (sta->ht_cap.ht_supported) in rtl_op_sta_add() 922 if (sta->ht_cap.ht_supported) in rtl_op_sta_add() 924 if (sta->vht_cap.vht_supported) in rtl_op_sta_add() 932 sta->supp_rates[0] &= 0xfffffff0; in rtl_op_sta_add() [all …]
|
D | base.h | 128 struct ieee80211_sta *sta, u16 tid, u16 *ssn); 130 struct ieee80211_sta *sta, u16 tid); 132 struct ieee80211_sta *sta, u16 tid); 134 struct ieee80211_sta *sta, u16 tid); 136 struct ieee80211_sta *sta, u16 tid); 142 struct ieee80211_sta *sta, 146 struct ieee80211_sta *sta,
|
D | stats.c | 176 struct ieee80211_sta *sta = NULL; in rtl_process_pwdb() local 181 sta = rtl_find_sta(hw, pstatus->psaddr); in rtl_process_pwdb() 184 if (sta) { in rtl_process_pwdb() 185 drv_priv = (struct rtl_sta_info *) sta->drv_priv; in rtl_process_pwdb() 204 if (sta) { in rtl_process_pwdb()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | tdls.c | 75 struct ieee80211_sta *sta; in iwl_mvm_teardown_tdls_peers() local 82 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_teardown_tdls_peers() 84 if (!sta || IS_ERR(sta) || !sta->tdls) in iwl_mvm_teardown_tdls_peers() 87 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers() 88 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers() 97 struct ieee80211_sta *sta; in iwl_mvm_tdls_sta_count() local 105 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_tdls_sta_count() 107 if (!sta || IS_ERR(sta) || !sta->tdls) in iwl_mvm_tdls_sta_count() 111 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count() 133 struct ieee80211_sta *sta; in iwl_mvm_tdls_config() local [all …]
|
D | sta.c | 99 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_sta_send_to_fw() argument 102 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_send_to_fw() 116 memcpy(&add_sta_cmd.addr, sta->addr, ETH_ALEN); in iwl_mvm_sta_send_to_fw() 119 switch (sta->bandwidth) { in iwl_mvm_sta_send_to_fw() 130 if (sta->ht_cap.ht_supported) in iwl_mvm_sta_send_to_fw() 136 switch (sta->rx_nss) { in iwl_mvm_sta_send_to_fw() 148 switch (sta->smps_mode) { in iwl_mvm_sta_send_to_fw() 166 if (sta->ht_cap.ht_supported) { in iwl_mvm_sta_send_to_fw() 171 mpdu_dens = sta->ht_cap.ampdu_density; in iwl_mvm_sta_send_to_fw() 174 if (sta->vht_cap.vht_supported) { in iwl_mvm_sta_send_to_fw() [all …]
|
D | sta.h | 335 iwl_mvm_sta_from_mac80211(struct ieee80211_sta *sta) in iwl_mvm_sta_from_mac80211() argument 337 return (void *)sta->drv_priv; in iwl_mvm_sta_from_mac80211() 351 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, 355 struct ieee80211_sta *sta); 358 struct ieee80211_sta *sta); 361 struct ieee80211_sta *sta); 367 struct ieee80211_sta *sta, 372 struct ieee80211_sta *sta, 378 struct ieee80211_sta *sta, u32 iv32, 385 int iwl_mvm_sta_rx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta, [all …]
|
D | sf.c | 157 struct ieee80211_sta *sta) in iwl_mvm_fill_sf_command() argument 167 if (sta) { in iwl_mvm_fill_sf_command() 168 if (sta->ht_cap.ht_supported || sta->vht_cap.vht_supported) { in iwl_mvm_fill_sf_command() 169 switch (sta->rx_nss) { in iwl_mvm_fill_sf_command() 196 if (sta || IWL_UCODE_API(mvm->fw->ucode_ver) < 13) { in iwl_mvm_fill_sf_command() 220 struct ieee80211_sta *sta; in iwl_mvm_sf_config() local 248 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_sf_config() 249 if (IS_ERR_OR_NULL(sta)) { in iwl_mvm_sf_config() 254 iwl_mvm_fill_sf_command(mvm, &sf_cmd, sta); in iwl_mvm_sf_config()
|
D | rs.c | 140 struct ieee80211_sta *sta, 152 static bool rs_ant_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in rs_ant_allow() argument 159 static bool rs_mimo_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in rs_mimo_allow() argument 166 if (!sta->ht_cap.ht_supported) in rs_mimo_allow() 169 if (sta->smps_mode == IEEE80211_SMPS_STATIC) in rs_mimo_allow() 175 if (!iwl_mvm_bt_coex_is_mimo_allowed(mvm, sta)) in rs_mimo_allow() 178 mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_mimo_allow() 187 static bool rs_siso_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in rs_siso_allow() argument 191 if (!sta->ht_cap.ht_supported) in rs_siso_allow() 197 static bool rs_sgi_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in rs_sgi_allow() argument [all …]
|
D | tx.c | 194 struct ieee80211_sta *sta, __le16 fc) in iwl_mvm_set_tx_cmd_rate() argument 219 if (ieee80211_is_data(fc) && sta) { in iwl_mvm_set_tx_cmd_rate() 239 &mvm->nvm_data->bands[info->band], sta); in iwl_mvm_set_tx_cmd_rate() 323 int hdrlen, struct ieee80211_sta *sta, u8 sta_id) in iwl_mvm_set_tx_params() argument 344 iwl_mvm_set_tx_cmd_rate(mvm, tx_cmd, info, sta, hdr->frame_control); in iwl_mvm_set_tx_params() 440 struct ieee80211_sta *sta) in iwl_mvm_tx_skb() argument 454 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_skb() 464 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, hdrlen, sta, mvmsta->sta_id); in iwl_mvm_tx_skb() 500 if (sta->tdls) { in iwl_mvm_tx_skb() 537 struct ieee80211_sta *sta, u8 tid) in iwl_mvm_check_ratid_empty() argument [all …]
|
D | mac80211.c | 673 struct ieee80211_sta *sta, in iwl_mvm_defer_tx() argument 695 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_defer_tx() 718 struct ieee80211_sta *sta = control->sta; in iwl_mvm_mac_tx() local 738 sta = NULL; in iwl_mvm_mac_tx() 740 if (sta) { in iwl_mvm_mac_tx() 741 if (iwl_mvm_defer_tx(mvm, sta, skb)) in iwl_mvm_mac_tx() 743 if (iwl_mvm_tx_skb(mvm, skb, sta)) in iwl_mvm_mac_tx() 782 struct ieee80211_sta *sta, u16 tid, u16 rx_ba_ssn, in iwl_mvm_ampdu_check_trigger() argument 799 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_ampdu_check_trigger() 804 sta->addr, tid, tid_data->ssn); in iwl_mvm_ampdu_check_trigger() [all …]
|
D | rx.c | 238 static void iwl_mvm_rx_csum(struct ieee80211_sta *sta, in iwl_mvm_rx_csum() argument 242 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() 264 struct ieee80211_sta *sta; in iwl_mvm_rx_rx_mpdu() local 340 sta = ieee80211_find_sta( in iwl_mvm_rx_rx_mpdu() 342 if (sta) in iwl_mvm_rx_rx_mpdu() 343 iwl_mvm_sta_modify_disable_tx_ap(mvm, sta, false); in iwl_mvm_rx_rx_mpdu() 347 sta = ieee80211_find_sta_by_ifaddr(mvm->hw, hdr->addr2, NULL); in iwl_mvm_rx_rx_mpdu() 348 if (sta) { in iwl_mvm_rx_rx_mpdu() 349 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() 373 if (sta && ieee80211_is_data(hdr->frame_control)) in iwl_mvm_rx_rx_mpdu() [all …]
|
D | mvm.h | 884 struct ieee80211_sta *sta; in iwl_mvm_sta_from_staid_rcu() local 889 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_sta_from_staid_rcu() 892 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_sta_from_staid_rcu() 895 return iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_from_staid_rcu() 901 struct ieee80211_sta *sta; in iwl_mvm_sta_from_staid_protected() local 906 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_sta_from_staid_protected() 910 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_sta_from_staid_protected() 913 return iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_from_staid_protected() 1026 struct ieee80211_sta *sta); 1033 struct ieee80211_sta *sta, __le16 fc); [all …]
|
D | tt.c | 297 struct ieee80211_sta *sta; in iwl_mvm_tt_tx_protection() local 302 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_tt_tx_protection() 304 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_tt_tx_protection() 306 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tt_tx_protection()
|
D | fw-api-mac.h | 229 struct iwl_mac_data_sta sta; member 363 struct iwl_mac_data_sta sta; member
|
D | coex_legacy.c | 1094 struct ieee80211_sta *sta; in iwl_mvm_bt_rssi_iterator() local 1113 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[mvmvif->ap_sta_id], in iwl_mvm_bt_rssi_iterator() 1117 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_bt_rssi_iterator() 1120 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_rssi_iterator() 1178 struct ieee80211_sta *sta) in iwl_mvm_coex_agg_time_limit_old() argument 1180 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit_old() 1200 struct ieee80211_sta *sta) in iwl_mvm_bt_coex_is_mimo_allowed_old() argument 1202 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed_old()
|
D | coex.c | 806 struct ieee80211_sta *sta) in iwl_mvm_coex_agg_time_limit() argument 808 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_coex_agg_time_limit() 814 return iwl_mvm_coex_agg_time_limit_old(mvm, sta); in iwl_mvm_coex_agg_time_limit() 833 struct ieee80211_sta *sta) in iwl_mvm_bt_coex_is_mimo_allowed() argument 835 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_bt_coex_is_mimo_allowed() 841 return iwl_mvm_bt_coex_is_mimo_allowed_old(mvm, sta); in iwl_mvm_bt_coex_is_mimo_allowed()
|
D | Makefile | 3 iwlmvm-y += utils.o rx.o tx.o binding.o quota.o sta.o sf.o
|
D | rs.h | 360 void iwl_mvm_rs_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta, 364 void iwl_mvm_rs_tx_status(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
|
D | ops.c | 1253 struct ieee80211_sta *sta = NULL; in iwl_mvm_d0i3_enable_tx() local 1268 sta = rcu_dereference_protected( in iwl_mvm_d0i3_enable_tx() 1272 if (IS_ERR_OR_NULL(sta)) { in iwl_mvm_d0i3_enable_tx() 1273 sta = NULL; in iwl_mvm_d0i3_enable_tx() 1279 mvm_ap_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_d0i3_enable_tx() 1292 if (!sta || iwl_mvm_tx_skb(mvm, skb, sta)) in iwl_mvm_d0i3_enable_tx()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
D | sta.c | 48 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate() 54 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate() 58 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate() 103 struct iwl_addsta_cmd *sta, u8 flags) in iwl_send_add_sta() argument 109 .data = { sta, }, in iwl_send_add_sta() 110 .len = { sizeof(*sta), }, in iwl_send_add_sta() 112 u8 sta_id __maybe_unused = sta->sta.sta_id; in iwl_send_add_sta() 117 sta_id, sta->sta.addr, flags & CMD_ASYNC ? "a" : ""); in iwl_send_add_sta() 148 struct ieee80211_sta *sta) in iwl_is_ht40_tx_allowed() argument 159 if (!sta) in iwl_is_ht40_tx_allowed() [all …]
|
D | mac80211.c | 594 if (iwlagn_tx_skb(priv, control->sta, skb)) in iwlagn_mac_tx() 601 struct ieee80211_sta *sta, in iwlagn_mac_update_tkip_key() argument 606 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key() 611 struct ieee80211_sta *sta, in iwlagn_mac_set_key() argument 667 key->cipher == WLAN_CIPHER_SUITE_WEP104) && !sta) { in iwlagn_mac_set_key() 682 ret = iwl_set_dynamic_key(priv, vif_priv->ctx, key, sta); in iwlagn_mac_set_key() 698 ret = iwl_remove_dynamic_key(priv, ctx, key, sta); in iwlagn_mac_set_key() 733 struct ieee80211_sta *sta, u16 tid, u16 *ssn, in iwlagn_mac_ampdu_action() argument 738 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_mac_ampdu_action() 741 sta->addr, tid); in iwlagn_mac_ampdu_action() [all …]
|
D | agn.h | 208 struct ieee80211_sta *sta, 211 struct ieee80211_sta *sta, u16 tid, u16 *ssn); 213 struct ieee80211_sta *sta, u16 tid, u8 buf_size); 215 struct ieee80211_sta *sta, u16 tid); 217 struct ieee80211_sta *sta, u16 tid); 316 struct iwl_addsta_cmd *sta, u8 flags); 319 struct ieee80211_sta *sta, u8 *sta_id_r); 325 const u8 *addr, bool is_ap, struct ieee80211_sta *sta); 331 struct ieee80211_sta *sta); 335 struct ieee80211_sta *sta); [all …]
|
D | rs.c | 152 struct ieee80211_sta *sta, 397 struct ieee80211_sta *sta) in rs_tl_turn_on_agg_for_tid() argument 416 sta->addr, tid); in rs_tl_turn_on_agg_for_tid() 417 ret = ieee80211_start_tx_ba_session(sta, tid, 5000); in rs_tl_turn_on_agg_for_tid() 426 ieee80211_stop_tx_ba_session(sta, tid); in rs_tl_turn_on_agg_for_tid() 433 struct ieee80211_sta *sta) in rs_tl_turn_on_agg() argument 436 rs_tl_turn_on_agg_for_tid(priv, lq_data, tid, sta); in rs_tl_turn_on_agg() 697 static bool rs_use_green(struct ieee80211_sta *sta) in rs_use_green() argument 892 struct ieee80211_sta *sta, void *priv_sta, in rs_tx_status() argument 908 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_tx_status() [all …]
|
D | tx.c | 129 struct ieee80211_sta *sta, in iwlagn_tx_cmd_build_rate() argument 178 &priv->nvm_data->bands[info->band], sta); in iwlagn_tx_cmd_build_rate() 258 struct ieee80211_sta *sta) in iwl_sta_id_or_broadcast() argument 262 if (!sta) in iwl_sta_id_or_broadcast() 265 sta_id = iwl_sta_id(sta); in iwl_sta_id_or_broadcast() 280 struct ieee80211_sta *sta, in iwlagn_tx_skb() argument 335 sta_id = iwl_sta_id_or_broadcast(ctx, sta); in iwlagn_tx_skb() 343 if (sta) in iwlagn_tx_skb() 344 sta_priv = (void *)sta->drv_priv; in iwlagn_tx_skb() 383 iwlagn_tx_cmd_build_rate(priv, tx_cmd, info, sta, fc); in iwlagn_tx_skb() [all …]
|
D | Makefile | 4 iwldvm-objs += lib.o calib.o tt.o sta.o rx.o
|
D | lib.c | 913 struct ieee80211_sta *sta, in iwlagn_wowlan_program_keys() argument 933 !sta && !ctx->key_mapping_keys) in iwlagn_wowlan_program_keys() 936 ret = iwl_set_dynamic_key(priv, ctx, key, sta); in iwlagn_wowlan_program_keys() 945 if (sta) { in iwlagn_wowlan_program_keys() 998 if (sta) { in iwlagn_wowlan_program_keys()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | debugfs_sta.c | 25 struct ieee80211_sta *sta = file->private_data; in ath10k_dbg_sta_read_aggr_mode() local 26 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_dbg_sta_read_aggr_mode() 44 struct ieee80211_sta *sta = file->private_data; in ath10k_dbg_sta_write_aggr_mode() local 45 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_dbg_sta_write_aggr_mode() 63 ret = ath10k_wmi_addba_clear_resp(ar, arsta->arvif->vdev_id, sta->addr); in ath10k_dbg_sta_write_aggr_mode() 87 struct ieee80211_sta *sta = file->private_data; in ath10k_dbg_sta_write_addba() local 88 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_dbg_sta_write_addba() 114 ret = ath10k_wmi_addba_send(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_addba() 118 arsta->arvif->vdev_id, sta->addr, tid, buf_size); in ath10k_dbg_sta_write_addba() 138 struct ieee80211_sta *sta = file->private_data; in ath10k_dbg_sta_write_addba_resp() local [all …]
|
D | mac.c | 766 struct ieee80211_sta *sta, in ath10k_mac_tdls_peer_update() argument 778 ether_addr_copy(arg.addr, sta->addr); in ath10k_mac_tdls_peer_update() 780 cap.peer_max_sp = sta->max_sp; in ath10k_mac_tdls_peer_update() 781 cap.peer_uapsd_queues = sta->uapsd_queues; in ath10k_mac_tdls_peer_update() 784 !sta->tdls_initiator) in ath10k_mac_tdls_peer_update() 1651 if (arvif->u.sta.uapsd) in ath10k_mac_vif_recalc_ps_wake_threshold() 1676 if (arvif->u.sta.uapsd) in ath10k_mac_vif_recalc_ps_poll_count() 1947 struct ieee80211_sta *sta, in ath10k_peer_assoc_h_basic() argument 1958 aid = sta->aid; in ath10k_peer_assoc_h_basic() 1960 ether_addr_copy(arg->addr, sta->addr); in ath10k_peer_assoc_h_basic() [all …]
|
D | debug.h | 151 struct ieee80211_sta *sta, struct dentry *dir);
|
/linux-4.4.14/drivers/i2c/algos/ |
D | i2c-algo-pca.c | 65 int sta = pca_get_con(adap); in pca_start() local 67 sta |= I2C_PCA_CON_STA; in pca_start() 68 sta &= ~(I2C_PCA_CON_STO|I2C_PCA_CON_SI); in pca_start() 69 pca_set_con(adap, sta); in pca_start() 80 int sta = pca_get_con(adap); in pca_repeated_start() local 82 sta |= I2C_PCA_CON_STA; in pca_repeated_start() 83 sta &= ~(I2C_PCA_CON_STO|I2C_PCA_CON_SI); in pca_repeated_start() 84 pca_set_con(adap, sta); in pca_repeated_start() 99 int sta = pca_get_con(adap); in pca_stop() local 101 sta |= I2C_PCA_CON_STO; in pca_stop() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | rx_reorder.c | 94 __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock) in wil_rx_reorder() 103 struct wil_sta_info *sta = &wil->sta[cid]; in wil_rx_reorder() local 116 spin_lock(&sta->tid_rx_lock); in wil_rx_reorder() 118 r = sta->tid_rx[tid]; in wil_rx_reorder() 205 spin_unlock(&sta->tid_rx_lock); in wil_rx_reorder() 211 struct wil_sta_info *sta = &wil->sta[cid]; in wil_rx_bar() local 214 spin_lock(&sta->tid_rx_lock); in wil_rx_bar() 216 r = sta->tid_rx[tid]; in wil_rx_bar() 231 spin_unlock(&sta->tid_rx_lock); in wil_rx_bar() 311 __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock) in wil_back_rx_handle() [all …]
|
D | main.c | 145 __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock) in wil_disconnect_cid() 150 struct wil_sta_info *sta = &wil->sta[cid]; in wil_disconnect_cid() local 154 sta->status); in wil_disconnect_cid() 156 if (sta->status != wil_sta_unused) { in wil_disconnect_cid() 158 wmi_disconnect_sta(wil, sta->addr, reason_code); in wil_disconnect_cid() 164 cfg80211_del_sta(ndev, sta->addr, GFP_KERNEL); in wil_disconnect_cid() 169 sta->status = wil_sta_unused; in wil_disconnect_cid() 175 spin_lock_bh(&sta->tid_rx_lock); in wil_disconnect_cid() 177 r = sta->tid_rx[i]; in wil_disconnect_cid() 178 sta->tid_rx[i] = NULL; in wil_disconnect_cid() [all …]
|
D | wmi.c | 497 ether_addr_copy(wil->sta[evt->cid].addr, evt->bssid); in wmi_evt_connect() 498 wil->sta[evt->cid].status = wil_sta_conn_pending; in wmi_evt_connect() 541 stats = &wil->sta[cid].stats; in wmi_evt_eapol_rx() 634 __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock) in wmi_evt_delba() 639 struct wil_sta_info *sta; in wmi_evt_delba() local 670 sta = &wil->sta[cid]; in wmi_evt_delba() 672 spin_lock_bh(&sta->tid_rx_lock); in wmi_evt_delba() 674 r = sta->tid_rx[tid]; in wmi_evt_delba() 675 sta->tid_rx[tid] = NULL; in wmi_evt_delba() 678 spin_unlock_bh(&sta->tid_rx_lock); in wmi_evt_delba()
|
D | cfg80211.c | 119 struct wil_net_stats *stats = &wil->sta[cid].stats; in wil_cid_fill_sinfo() 199 for (i = 0; i < ARRAY_SIZE(wil->sta); i++) { in wil_find_cid_by_idx() 200 if (wil->sta[i].status == wil_sta_unused) in wil_find_cid_by_idx() 221 ether_addr_copy(mac, wil->sta[cid].addr); in wil_cfg80211_dump_station() 958 struct wil_sta_info *sta = &wil->sta[req->cid]; in wil_probe_client_handle() local 962 bool alive = (sta->status == wil_sta_connected); in wil_probe_client_handle() 964 cfg80211_probe_status(ndev, sta->addr, req->cookie, alive, GFP_KERNEL); in wil_probe_client_handle()
|
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 377 if (control->sta) in wcn36xx_tx() 378 sta_priv = (struct wcn36xx_sta *)control->sta->drv_priv; in wcn36xx_tx() 386 struct ieee80211_sta *sta, in wcn36xx_set_key() argument 391 struct wcn36xx_sta *sta_priv = vif_priv->sta; in wcn36xx_set_key() 446 sta, in wcn36xx_set_key() 447 sta->addr, in wcn36xx_set_key() 518 static void wcn36xx_update_allowed_rates(struct ieee80211_sta *sta, in wcn36xx_update_allowed_rates() argument 523 struct wcn36xx_sta *sta_priv = (struct wcn36xx_sta *)sta->drv_priv; in wcn36xx_update_allowed_rates() 524 u32 rates = sta->supp_rates[band]; in wcn36xx_update_allowed_rates() 550 if (sta->ht_cap.ht_supported) { in wcn36xx_update_allowed_rates() [all …]
|
D | smd.c | 104 struct ieee80211_sta *sta, in wcn36xx_smd_set_bss_nw_type() argument 109 else if (sta && sta->ht_cap.ht_supported) in wcn36xx_smd_set_bss_nw_type() 111 else if (sta && (sta->supp_rates[IEEE80211_BAND_2GHZ] & 0x7f)) in wcn36xx_smd_set_bss_nw_type() 122 struct ieee80211_sta *sta, in wcn36xx_smd_set_bss_ht_params() argument 125 if (sta && sta->ht_cap.ht_supported) { in wcn36xx_smd_set_bss_ht_params() 126 unsigned long caps = sta->ht_cap.cap; in wcn36xx_smd_set_bss_ht_params() 127 bss_params->ht = sta->ht_cap.ht_supported; in wcn36xx_smd_set_bss_ht_params() 145 static void wcn36xx_smd_set_sta_ht_params(struct ieee80211_sta *sta, in wcn36xx_smd_set_sta_ht_params() argument 148 if (sta->ht_cap.ht_supported) { in wcn36xx_smd_set_sta_ht_params() 149 unsigned long caps = sta->ht_cap.cap; in wcn36xx_smd_set_sta_ht_params() [all …]
|
D | smd.h | 75 struct ieee80211_sta *sta, const u8 *bssid, 79 struct ieee80211_sta *sta); 120 struct ieee80211_sta *sta,
|
D | txrx.c | 120 struct ieee80211_sta *sta; in wcn36xx_tx_start_ampdu() local 126 sta = wcn36xx_priv_to_sta(sta_priv); in wcn36xx_tx_start_ampdu() 144 ieee80211_start_tx_ba_session(sta, tid, 0); in wcn36xx_tx_start_ampdu()
|
/linux-4.4.14/include/net/ |
D | mac80211.h | 416 struct ieee80211_sta *sta; member 1728 struct ieee80211_sta *sta; member 1745 struct ieee80211_sta *sta; member 2117 struct ieee80211_sta *sta; member 3300 int (*set_tim)(struct ieee80211_hw *hw, struct ieee80211_sta *sta, 3303 struct ieee80211_vif *vif, struct ieee80211_sta *sta, 3308 struct ieee80211_sta *sta, 3338 struct ieee80211_sta *sta); 3340 struct ieee80211_sta *sta); 3344 struct ieee80211_sta *sta, [all …]
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | main.c | 216 struct ieee80211_sta *sta) in mt7601u_sta_add() argument 219 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_sta_add() 234 mt7601u_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); in mt7601u_sta_add() 247 struct ieee80211_sta *sta) in mt7601u_sta_remove() argument 250 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_sta_remove() 266 enum sta_notify_cmd cmd, struct ieee80211_sta *sta) in mt7601u_sta_notify() argument 293 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in mt7601u_set_key() argument 298 struct mt76_sta *msta = sta ? (struct mt76_sta *) sta->drv_priv : NULL; in mt7601u_set_key() 338 struct ieee80211_sta *sta, u16 tid, u16 *ssn, u8 buf_size, in mt76_ampdu_action() argument 342 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt76_ampdu_action() [all …]
|
D | tx.c | 139 struct ieee80211_sta *sta, struct mt76_wcid *wcid, in mt7601u_push_txwi() argument 155 ieee80211_get_tx_rates(info->control.vif, sta, skb, in mt7601u_push_txwi() 171 if ((info->flags & IEEE80211_TX_CTL_AMPDU) && sta) { in mt7601u_push_txwi() 174 ba_size <<= sta->ht_cap.ampdu_factor; in mt7601u_push_txwi() 182 sta->ht_cap.ampdu_density)); in mt7601u_push_txwi() 203 struct ieee80211_sta *sta = control->sta; in mt7601u_tx() local 218 if (sta) { in mt7601u_tx() 219 msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_tx() 227 txwi = mt7601u_push_txwi(dev, skb, sta, wcid, pkt_len); in mt7601u_tx()
|
D | trace.h | 287 struct mt76_sta *sta, struct mt76_txwi *h), 288 TP_ARGS(dev, skb, sta, h), 293 __field(struct mt76_sta *, sta) 299 __entry->sta = sta; 303 __entry->skb, __entry->sta,
|
D | mac.c | 169 struct ieee80211_sta *sta = NULL; in mt76_send_tx_status() local 179 sta = container_of(msta, struct ieee80211_sta, in mt76_send_tx_status() 186 ieee80211_tx_status_noskb(dev->hw, sta, &info); in mt76_send_tx_status() 365 struct ieee80211_sta *sta; in mt7601u_mac_set_ampdu_factor() local 378 sta = container_of(msta, struct ieee80211_sta, drv_priv); in mt7601u_mac_set_ampdu_factor() 380 min_factor = min(min_factor, sta->ht_cap.ampdu_factor); in mt7601u_mac_set_ampdu_factor()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_main.c | 471 struct ieee80211_sta *sta) in ath9k_htc_add_station() argument 490 if (sta) { in ath9k_htc_add_station() 491 ista = (struct ath9k_htc_sta *) sta->drv_priv; in ath9k_htc_add_station() 492 memcpy(&tsta.macaddr, sta->addr, ETH_ALEN); in ath9k_htc_add_station() 497 sta->ht_cap.ampdu_factor); in ath9k_htc_add_station() 510 if (sta) in ath9k_htc_add_station() 513 sta->addr); in ath9k_htc_add_station() 517 if (sta) { in ath9k_htc_add_station() 520 sta->addr, tsta.sta_index); in ath9k_htc_add_station() 529 if (!sta) in ath9k_htc_add_station() [all …]
|
D | debug_sta.c | 39 if (!an->sta->ht_cap.ht_supported) { in read_file_node_aggr() 99 struct ieee80211_sta *sta; in ath_debug_rate_stats() local 107 sta = ieee80211_find_sta_by_ifaddr(sc->hw, hdr->addr2, NULL); in ath_debug_rate_stats() 108 if (!sta) in ath_debug_rate_stats() 111 an = (struct ath_node *) sta->drv_priv; in ath_debug_rate_stats() 175 struct ieee80211_sta *sta = an->sta; in read_file_node_recv() local 189 if (!sta->ht_cap.ht_supported) in read_file_node_recv() 247 struct ieee80211_sta *sta, in ath9k_sta_add_debugfs() argument 250 struct ath_node *an = (struct ath_node *)sta->drv_priv; in ath9k_sta_add_debugfs()
|
D | main.c | 345 static void ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta, in ath_node_attach() argument 349 an = (struct ath_node *)sta->drv_priv; in ath_node_attach() 352 an->sta = sta; in ath_node_attach() 361 static void ath_node_detach(struct ath_softc *sc, struct ieee80211_sta *sta) in ath_node_detach() argument 363 struct ath_node *an = (struct ath_node *)sta->drv_priv; in ath_node_detach() 807 txctl.sta = control->sta; in ath9k_tx() 1270 an->sta = NULL; in ath9k_add_interface() 1492 struct ieee80211_sta *sta) in ath9k_sta_add() argument 1496 struct ath_node *an = (struct ath_node *) sta->drv_priv; in ath9k_sta_add() 1500 ath_node_attach(sc, sta, vif); in ath9k_sta_add() [all …]
|
D | xmit.c | 131 if (!tid->an->sta) in ath_send_bar() 134 ieee80211_send_bar(tid->an->vif, tid->an->sta->addr, tid->tidno, in ath_send_bar() 138 static void ath_set_rates(struct ieee80211_vif *vif, struct ieee80211_sta *sta, in ath_set_rates() argument 141 ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates, in ath_set_rates() 433 struct ieee80211_sta *sta; in ath_tx_complete_aggr() local 465 sta = ieee80211_find_sta_by_ifaddr(hw, hdr->addr1, hdr->addr2); in ath_tx_complete_aggr() 466 if (!sta) { in ath_tx_complete_aggr() 483 an = (struct ath_node *)sta->drv_priv; in ath_tx_complete_aggr() 591 ieee80211_sta_eosp(sta); in ath_tx_complete_aggr() 629 ieee80211_sta_set_buffered(sta, tid->tidno, true); in ath_tx_complete_aggr() [all …]
|
D | dynack.c | 117 struct ieee80211_sta *sta; in ath_dynack_compute_to() local 140 sta = ieee80211_find_sta_by_ifaddr(ah->hw, dst, in ath_dynack_compute_to() 142 if (sta) { in ath_dynack_compute_to() 143 an = (struct ath_node *)sta->drv_priv; in ath_dynack_compute_to()
|
D | ath9k.h | 253 struct ieee80211_sta *sta; /* station struct we're part of */ member 276 struct ieee80211_sta *sta; member 574 int ath_tx_aggr_start(struct ath_softc *sc, struct ieee80211_sta *sta, 576 void ath_tx_aggr_stop(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid); 577 void ath_tx_aggr_resume(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid); 580 void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc, 583 struct ieee80211_sta *sta,
|
D | htc_drv_txrx.c | 336 struct ieee80211_sta *sta, in ath9k_htc_tx_start() argument 369 if (sta) { in ath9k_htc_tx_start() 370 ista = (struct ath9k_htc_sta *) sta->drv_priv; in ath9k_htc_tx_start() 404 struct ieee80211_sta *sta; in ath9k_htc_check_tx_aggr() local 413 sta = ieee80211_find_sta(vif, hdr->addr1); in ath9k_htc_check_tx_aggr() 414 if (!sta) { in ath9k_htc_check_tx_aggr() 419 if (sta && conf_is_ht(&priv->hw->conf) && in ath9k_htc_check_tx_aggr() 427 ista = (struct ath9k_htc_sta *)sta->drv_priv; in ath9k_htc_check_tx_aggr() 429 ieee80211_start_tx_ba_session(sta, tid, 0); in ath9k_htc_check_tx_aggr()
|
D | channel.c | 1082 struct ieee80211_sta *sta = NULL; in ath_chanctx_send_vif_ps_frame() local 1103 if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, &sta)) { in ath_chanctx_send_vif_ps_frame() 1114 txctl.sta = sta; in ath_chanctx_send_vif_ps_frame() 1525 struct ieee80211_sta *sta; in ath9k_p2p_ps_timer() local 1549 sta = ieee80211_find_sta(vif, avp->bssid); in ath9k_p2p_ps_timer() 1550 if (!sta) in ath9k_p2p_ps_timer() 1553 an = (void *) sta->drv_priv; in ath9k_p2p_ps_timer() 1559 ath_tx_aggr_sleep(sta, sc, an); in ath9k_p2p_ps_timer()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | flowring.c | 74 bool sta; in brcmf_flowring_lookup() local 79 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_lookup() 81 if ((!sta) && (is_multicast_ether_addr(da))) { in brcmf_flowring_lookup() 85 if ((sta) && (flow->tdls_active) && in brcmf_flowring_lookup() 87 sta = false; in brcmf_flowring_lookup() 89 hash_idx = sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) : in brcmf_flowring_lookup() 94 if ((sta || (memcmp(hash[hash_idx].mac, mac, ETH_ALEN) == 0)) && in brcmf_flowring_lookup() 118 bool sta; in brcmf_flowring_create() local 122 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_create() 124 if ((!sta) && (is_multicast_ether_addr(da))) { in brcmf_flowring_create() [all …]
|
/linux-4.4.14/Documentation/DocBook/ |
D | 80211.xml.db | 6 API-struct-ieee80211-sta-ht-cap 61 API-cfg80211-new-sta 154 API-ieee80211-sta-eosp 156 API-ieee80211-sta-ps-transition 157 API-ieee80211-sta-ps-transition-ni 158 API-ieee80211-sta-set-buffered 159 API-ieee80211-sta-block-awake 162 API-struct-ieee80211-sta 163 API-enum-sta-notify-cmd 164 API-ieee80211-find-sta [all …]
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | sta.h | 38 struct ieee80211_vif *vif, struct ieee80211_sta *sta, 97 int cw1200_set_tim(struct ieee80211_hw *dev, struct ieee80211_sta *sta, 100 struct ieee80211_sta *sta); 102 struct ieee80211_sta *sta); 105 struct ieee80211_sta *sta); 113 struct ieee80211_sta *sta, u16 tid, u16 *ssn,
|
D | txrx.c | 412 struct ieee80211_sta *sta; member 443 if (t->sta && t->sta_priv->link_id) in cw1200_tx_h_calc_link_ids() 472 if (t->sta && (t->sta->uapsd_queues & BIT(t->queue))) in cw1200_tx_h_calc_link_ids() 719 struct ieee80211_sta *sta; in cw1200_tx() local 731 t.sta = control->sta; in cw1200_tx() 732 t.sta_priv = (struct cw1200_sta_priv *)&t.sta->drv_priv; in cw1200_tx() 769 sta = rcu_dereference(t.sta); in cw1200_tx() 779 if (tid_update && sta) in cw1200_tx() 780 ieee80211_sta_set_buffered(sta, t.txpriv.tid, true); in cw1200_tx() 810 struct ieee80211_sta *sta; in cw1200_handle_pspoll() local [all …]
|
D | sta.c | 684 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in cw1200_set_key() argument 705 if (sta) in cw1200_set_key() 706 peer_addr = sta->addr; in cw1200_set_key() 1549 struct ieee80211_sta *sta) in cw1200_sta_add() argument 1553 (struct cw1200_sta_priv *)&sta->drv_priv; in cw1200_sta_add() 1560 sta_priv->link_id = cw1200_find_link_id(priv, sta->addr); in cw1200_sta_add() 1569 if ((sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK) == in cw1200_sta_add() 1580 struct ieee80211_sta *sta) in cw1200_sta_remove() argument 1584 (struct cw1200_sta_priv *)&sta->drv_priv; in cw1200_sta_remove() 1646 struct ieee80211_sta *sta) in cw1200_sta_notify() argument [all …]
|
D | Makefile | 9 sta.o \
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-st.c | 342 u32 sta; in st_i2c_wait_free_bus() local 346 sta = readl_relaxed(i2c_dev->base + SSC_STA); in st_i2c_wait_free_bus() 347 if (!(sta & SSC_STA_BUSY)) in st_i2c_wait_free_bus() 353 dev_err(i2c_dev->dev, "bus not free (status = 0x%08x)\n", sta); in st_i2c_wait_free_bus() 380 u32 tx_fstat, sta; in st_i2c_wr_fill_tx_fifo() local 383 sta = readl_relaxed(i2c_dev->base + SSC_STA); in st_i2c_wr_fill_tx_fifo() 384 if (sta & SSC_STA_TX_FIFO_FULL) in st_i2c_wr_fill_tx_fifo() 409 u32 tx_fstat, sta; in st_i2c_rd_fill_tx_fifo() local 412 sta = readl_relaxed(i2c_dev->base + SSC_STA); in st_i2c_rd_fill_tx_fifo() 413 if (sta & SSC_STA_TX_FIFO_FULL) in st_i2c_rd_fill_tx_fifo() [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlegacy/ |
D | 3945-rs.c | 334 il3945_rs_rate_init(struct il_priv *il, struct ieee80211_sta *sta, u8 sta_id) in il3945_rs_rate_init() argument 347 psta = (struct il3945_sta_priv *)sta->drv_priv; in il3945_rs_rate_init() 375 if (sta->supp_rates[sband->band] & (1 << i)) { in il3945_rs_rate_init() 381 il->_3945.sta_supp_rates = sta->supp_rates[sband->band]; in il3945_rs_rate_init() 407 il3945_rs_alloc_sta(void *il_priv, struct ieee80211_sta *sta, gfp_t gfp) in il3945_rs_alloc_sta() argument 410 struct il3945_sta_priv *psta = (void *)sta->drv_priv; in il3945_rs_alloc_sta() 426 il3945_rs_free_sta(void *il_priv, struct ieee80211_sta *sta, void *il_sta) in il3945_rs_free_sta() argument 446 struct ieee80211_sta *sta, void *il_sta, in il3945_rs_tx_status() argument 623 il3945_rs_get_rate(void *il_r, struct ieee80211_sta *sta, void *il_sta, in il3945_rs_get_rate() argument 653 if (rate_control_send_low(sta, il_sta, txrc)) in il3945_rs_get_rate() [all …]
|
D | 4965.h | 82 struct ieee80211_sta *sta, 85 struct ieee80211_sta *sta, u16 tid, u16 * ssn); 87 struct ieee80211_sta *sta, u16 tid); 144 struct ieee80211_sta *sta, u32 iv32, 147 int il4965_sta_rx_agg_start(struct il_priv *il, struct ieee80211_sta *sta, 149 int il4965_sta_rx_agg_stop(struct il_priv *il, struct ieee80211_sta *sta, 177 struct ieee80211_vif *vif, struct ieee80211_sta *sta, 182 struct ieee80211_sta *sta, u32 iv32, 186 struct ieee80211_sta *sta, u16 tid, u16 * ssn, 189 struct ieee80211_sta *sta);
|
D | 4965-rs.c | 143 struct ieee80211_sta *sta, 354 u8 tid, struct ieee80211_sta *sta) in il4965_rs_tl_turn_on_agg_for_tid() argument 362 D_HT("Starting Tx agg: STA: %pM tid: %d\n", sta->addr, tid); in il4965_rs_tl_turn_on_agg_for_tid() 363 ret = ieee80211_start_tx_ba_session(sta, tid, 5000); in il4965_rs_tl_turn_on_agg_for_tid() 371 ieee80211_stop_tx_ba_session(sta, tid); in il4965_rs_tl_turn_on_agg_for_tid() 382 struct ieee80211_sta *sta) in il4965_rs_tl_turn_on_agg() argument 385 il4965_rs_tl_turn_on_agg_for_tid(il, lq_data, tid, sta); in il4965_rs_tl_turn_on_agg() 643 il4965_rs_use_green(struct il_priv *il, struct ieee80211_sta *sta) in il4965_rs_use_green() argument 645 return (sta->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in il4965_rs_use_green() 807 struct ieee80211_sta *sta, void *il_sta, in il4965_rs_tx_status() argument [all …]
|
D | 4965-mac.c | 1556 struct ieee80211_sta *sta, in il4965_tx_cmd_build_rate() argument 1591 rate_idx = rate_lowest_index(&il->bands[info->band], sta); in il4965_tx_cmd_build_rate() 1659 struct ieee80211_sta *sta, in il4965_tx_skb() argument 1709 sta_id = il_sta_id_or_broadcast(il, sta); in il4965_tx_skb() 1719 if (sta) in il4965_tx_skb() 1720 sta_priv = (void *)sta->drv_priv; in il4965_tx_skb() 1814 il4965_tx_cmd_build_rate(il, tx_cmd, info, sta, fc); in il4965_tx_skb() 2234 struct ieee80211_sta *sta, u16 tid, u16 * ssn) in il4965_tx_agg_start() argument 2248 D_HT("%s on ra = %pM tid = %d\n", __func__, sta->addr, tid); in il4965_tx_agg_start() 2250 sta_id = il_sta_id(sta); in il4965_tx_agg_start() [all …]
|
D | common.c | 1760 sta_id, il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate() 1765 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate() 1769 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate() 1777 u8 sta_id = addsta->sta.sta_id; in il_process_add_sta_resp() 1813 il->stations[sta_id].sta.mode == in il_process_add_sta_resp() 1815 il->stations[sta_id].sta.sta.addr); in il_process_add_sta_resp() 1826 il->stations[sta_id].sta.mode == in il_process_add_sta_resp() 1827 STA_CONTROL_MODIFY_MSK ? "Modified" : "Added", addsta->sta.addr); in il_process_add_sta_resp() 1844 il_send_add_sta(struct il_priv *il, struct il_addsta_cmd *sta, u8 flags) in il_send_add_sta() argument 1848 u8 data[sizeof(*sta)]; in il_send_add_sta() [all …]
|
D | 3945-mac.c | 155 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info() 157 if ((il->stations[sta_id].sta.key. in il3945_set_ccmp_dynamic_key_info() 159 il->stations[sta_id].sta.key.key_offset = in il3945_set_ccmp_dynamic_key_info() 164 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, in il3945_set_ccmp_dynamic_key_info() 167 il->stations[sta_id].sta.key.key_flags = key_flags; in il3945_set_ccmp_dynamic_key_info() 168 il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK; in il3945_set_ccmp_dynamic_key_info() 169 il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK; in il3945_set_ccmp_dynamic_key_info() 173 ret = il_send_add_sta(il, &il->stations[sta_id].sta, CMD_ASYNC); in il3945_set_ccmp_dynamic_key_info() 202 memset(&il->stations[sta_id].sta.key, 0, sizeof(struct il4965_keyinfo)); in il3945_clear_sta_key_info() 203 il->stations[sta_id].sta.key.key_flags = STA_KEY_FLG_NO_ENC; in il3945_clear_sta_key_info() [all …]
|
D | common.h | 720 struct il_addsta_cmd sta; member 2138 int il_send_add_sta(struct il_priv *il, struct il_addsta_cmd *sta, u8 flags); 2140 struct ieee80211_sta *sta, u8 *sta_id_r); 2143 struct ieee80211_sta *sta); 2146 struct ieee80211_sta *sta); 2173 il_sta_id(struct ieee80211_sta *sta) in il_sta_id() argument 2175 if (WARN_ON(!sta)) in il_sta_id() 2178 return ((struct il_station_priv_common *)sta->drv_priv)->sta_id; in il_sta_id() 2193 il_sta_id_or_broadcast(struct il_priv *il, struct ieee80211_sta *sta) in il_sta_id_or_broadcast() argument 2197 if (!sta) in il_sta_id_or_broadcast() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | main.c | 66 struct ath6kl_sta *sta; in ath6kl_add_new_sta() local 71 sta = &ar->sta_list[free_slot]; in ath6kl_add_new_sta() 72 memcpy(sta->mac, mac, ETH_ALEN); in ath6kl_add_new_sta() 74 memcpy(sta->wpa_ie, wpaie, ielen); in ath6kl_add_new_sta() 75 sta->aid = aid; in ath6kl_add_new_sta() 76 sta->keymgmt = keymgmt; in ath6kl_add_new_sta() 77 sta->ucipher = ucipher; in ath6kl_add_new_sta() 78 sta->auth = auth; in ath6kl_add_new_sta() 79 sta->apsd_info = apsd_info; in ath6kl_add_new_sta() 82 ar->ap_stats.sta[free_slot].aid = cpu_to_le32(aid); in ath6kl_add_new_sta() [all …]
|
D | txrx.c | 1705 struct ath6kl_sta *sta; in aggr_recv_addba_req_evt() local 1714 sta = ath6kl_find_sta_by_aid(vif->ar, aid); in aggr_recv_addba_req_evt() 1715 if (sta) in aggr_recv_addba_req_evt() 1716 aggr_conn = sta->aggr_conn; in aggr_recv_addba_req_evt() 1803 struct ath6kl_sta *sta; in aggr_recv_delba_req_evt() local 1810 sta = ath6kl_find_sta_by_aid(vif->ar, aid); in aggr_recv_delba_req_evt() 1811 if (sta) in aggr_recv_delba_req_evt() 1812 aggr_conn = sta->aggr_conn; in aggr_recv_delba_req_evt()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | cmd.c | 530 cmd->sta.basic_rate_set = cpu_to_le32(wlvif->basic_rate_set); in wl12xx_cmd_role_start_sta() 531 cmd->sta.beacon_interval = cpu_to_le16(wlvif->beacon_int); in wl12xx_cmd_role_start_sta() 532 cmd->sta.ssid_type = WL12XX_SSID_TYPE_ANY; in wl12xx_cmd_role_start_sta() 533 cmd->sta.ssid_len = wlvif->ssid_len; in wl12xx_cmd_role_start_sta() 534 memcpy(cmd->sta.ssid, wlvif->ssid, wlvif->ssid_len); in wl12xx_cmd_role_start_sta() 535 memcpy(cmd->sta.bssid, vif->bss_conf.bssid, ETH_ALEN); in wl12xx_cmd_role_start_sta() 542 cmd->sta.local_rates = cpu_to_le32(supported_rates); in wl12xx_cmd_role_start_sta() 546 if (wlvif->sta.hlid == WL12XX_INVALID_LINK_ID) { in wl12xx_cmd_role_start_sta() 547 ret = wl12xx_allocate_link(wl, wlvif, &wlvif->sta.hlid); in wl12xx_cmd_role_start_sta() 551 cmd->sta.hlid = wlvif->sta.hlid; in wl12xx_cmd_role_start_sta() [all …]
|
D | ps.c | 276 struct ieee80211_sta *sta; in wl12xx_ps_link_start() local 291 sta = ieee80211_find_sta(vif, wl->links[hlid].addr); in wl12xx_ps_link_start() 292 if (!sta) { in wl12xx_ps_link_start() 299 ieee80211_sta_ps_transition_ni(sta, true); in wl12xx_ps_link_start() 311 struct ieee80211_sta *sta; in wl12xx_ps_link_end() local 322 sta = ieee80211_find_sta(vif, wl->links[hlid].addr); in wl12xx_ps_link_end() 323 if (!sta) { in wl12xx_ps_link_end() 329 ieee80211_sta_ps_transition_ni(sta, false); in wl12xx_ps_link_end()
|
D | main.c | 71 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid); in wl12xx_set_authorized() 916 u8 hlid, struct ieee80211_sta *sta) in wlcore_save_freed_pkts() argument 921 wl_sta = (void *)sta->drv_priv; in wlcore_save_freed_pkts() 939 struct ieee80211_sta *sta; in wlcore_save_freed_pkts_addr() local 947 sta = ieee80211_find_sta(vif, addr); in wlcore_save_freed_pkts_addr() 948 if (sta) in wlcore_save_freed_pkts_addr() 949 wlcore_save_freed_pkts(wl, wlvif, hlid, sta); in wlcore_save_freed_pkts_addr() 1019 wlcore_save_freed_pkts_addr(wl, wlvif, wlvif->sta.hlid, in wl1271_recovery_work() 1274 hlid = wl12xx_tx_get_hlid(wl, wlvif, skb, control->sta); in wl1271_op_tx() 2289 wlvif->sta.hlid = WL12XX_INVALID_LINK_ID; in wl12xx_init_vif_data() [all …]
|
D | event.c | 61 u8 hlid = wlvif->sta.hlid; in wl1271_stop_ba_event() 181 struct ieee80211_sta *sta; in wlcore_disconnect_sta() local 201 sta = ieee80211_find_sta(vif, addr); in wlcore_disconnect_sta() 202 if (sta) { in wlcore_disconnect_sta() 204 ieee80211_report_low_ack(sta, num_packets); in wlcore_disconnect_sta()
|
D | tx.c | 53 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); in wl1271_set_default_wep_key() 154 struct sk_buff *skb, struct ieee80211_sta *sta) in wl12xx_tx_get_hlid_ap() argument 156 if (sta) { in wl12xx_tx_get_hlid_ap() 159 wl_sta = (struct wl1271_station *)sta->drv_priv; in wl12xx_tx_get_hlid_ap() 176 struct sk_buff *skb, struct ieee80211_sta *sta) in wl12xx_tx_get_hlid() argument 181 return wl12xx_tx_get_hlid_ap(wl, wlvif, skb, sta); in wl12xx_tx_get_hlid() 189 return wlvif->sta.hlid; in wl12xx_tx_get_hlid() 336 rate_idx = wlvif->sta.basic_rate_idx; in wl1271_tx_fill_hdr() 338 rate_idx = wlvif->sta.p2p_rate_idx; in wl1271_tx_fill_hdr() 340 rate_idx = wlvif->sta.ap_rate_idx; in wl1271_tx_fill_hdr() [all …]
|
D | hw_ops.h | 195 struct ieee80211_sta *sta, in wlcore_hw_set_key() argument 201 return wl->ops->set_key(wl, cmd, vif, sta, key_conf); in wlcore_hw_set_key()
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | tx.c | 140 struct ieee80211_sta *sta; in carl9170_tx_ps_unblock() local 144 sta = __carl9170_get_tx_sta(ar, skb); in carl9170_tx_ps_unblock() 145 if (unlikely(!sta)) in carl9170_tx_ps_unblock() 148 sta_info = (struct carl9170_sta_info *) sta->drv_priv; in carl9170_tx_ps_unblock() 150 ieee80211_sta_block_awake(ar->hw, sta, false); in carl9170_tx_ps_unblock() 383 struct ieee80211_sta *sta; in carl9170_tx_status_process_ampdu() local 393 sta = __carl9170_get_tx_sta(ar, skb); in carl9170_tx_status_process_ampdu() 394 if (unlikely(!sta)) in carl9170_tx_status_process_ampdu() 399 sta_info = (void *) sta->drv_priv; in carl9170_tx_status_process_ampdu() 609 struct ieee80211_sta *sta; in carl9170_tx_ampdu_timeout() local [all …]
|
D | main.c | 1175 struct ieee80211_sta *sta, in carl9170_op_set_key() argument 1233 sta = NULL; in carl9170_op_set_key() 1246 err = carl9170_upload_key(ar, i, sta ? sta->addr : NULL, in carl9170_op_set_key() 1253 err = carl9170_upload_key(ar, i, sta ? sta->addr : in carl9170_op_set_key() 1317 struct ieee80211_sta *sta) in carl9170_op_sta_add() argument 1319 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_add() 1324 if (sta->ht_cap.ht_supported) { in carl9170_op_sta_add() 1325 if (sta->ht_cap.ampdu_density > 6) { in carl9170_op_sta_add() 1337 sta_info->ampdu_max_len = 1 << (3 + sta->ht_cap.ampdu_factor); in carl9170_op_sta_add() 1346 struct ieee80211_sta *sta) in carl9170_op_sta_remove() argument [all …]
|
/linux-4.4.14/drivers/net/wireless/rsi/ |
D | rsi_91x_mac80211.c | 611 struct ieee80211_sta *sta, in rsi_mac80211_set_key() argument 674 struct ieee80211_sta *sta, in rsi_mac80211_ampdu_action() argument 715 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in rsi_mac80211_ampdu_action() 728 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in rsi_mac80211_ampdu_action() 917 struct ieee80211_sta *sta, in rsi_set_min_rate() argument 925 common->bitrate_mask[band] = sta->supp_rates[band]; in rsi_set_min_rate() 927 rate_bitmap = (common->fixedrate_mask[band] & sta->supp_rates[band]); in rsi_set_min_rate() 940 common->vif_info[0].is_ht = sta->ht_cap.ht_supported; in rsi_set_min_rate() 967 struct ieee80211_sta *sta) in rsi_mac80211_sta_add() argument 974 rsi_set_min_rate(hw, sta, common); in rsi_mac80211_sta_add() [all …]
|
/linux-4.4.14/drivers/net/wireless/ |
D | mwl8k.c | 175 struct ieee80211_sta *sta; member 1672 struct ieee80211_sta *sta; in mwl8k_txq_reclaim() local 1713 sta = ieee80211_find_sta_by_ifaddr(hw, wh->addr1, in mwl8k_txq_reclaim() 1715 if (sta) { in mwl8k_txq_reclaim() 1716 sta_info = MWL8K_STA(sta); in mwl8k_txq_reclaim() 1775 mwl8k_add_stream(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 tid) in mwl8k_add_stream() argument 1784 stream->sta = sta; in mwl8k_add_stream() 1789 sta->addr, tid); in mwl8k_add_stream() 1804 ret = ieee80211_start_tx_ba_session(stream->sta, stream->tid, 0); in mwl8k_start_stream() 1807 "%d\n", stream->sta->addr, stream->tid, ret); in mwl8k_start_stream() [all …]
|
D | mac80211_hwsim.c | 211 static inline void hwsim_check_sta_magic(struct ieee80211_sta *sta) in hwsim_check_sta_magic() argument 213 struct hwsim_sta_priv *sp = (void *)sta->drv_priv; in hwsim_check_sta_magic() 217 static inline void hwsim_set_sta_magic(struct ieee80211_sta *sta) in hwsim_set_sta_magic() argument 219 struct hwsim_sta_priv *sp = (void *)sta->drv_priv; in hwsim_set_sta_magic() 223 static inline void hwsim_clear_sta_magic(struct ieee80211_sta *sta) in hwsim_clear_sta_magic() argument 225 struct hwsim_sta_priv *sp = (void *)sta->drv_priv; in hwsim_clear_sta_magic() 1286 if (control->sta) in mac80211_hwsim_tx() 1287 hwsim_check_sta_magic(control->sta); in mac80211_hwsim_tx() 1290 ieee80211_get_tx_rates(txi->control.vif, control->sta, skb, in mac80211_hwsim_tx() 1659 struct ieee80211_sta *sta) in mac80211_hwsim_sta_add() argument [all …]
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2x00mac.c | 152 if (unlikely(rt2x00queue_write_tx_frame(queue, skb, control->sta, false))) in rt2x00mac_tx() 413 int rt2x00mac_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta, in rt2x00mac_set_tim() argument 451 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in rt2x00mac_set_key() argument 491 if (sta) { in rt2x00mac_set_key() 492 crypto.address = sta->addr; in rt2x00mac_set_key() 493 sta_priv = sta_to_rt2x00_sta(sta); in rt2x00mac_set_key() 535 struct ieee80211_sta *sta) in rt2x00mac_sta_add() argument 539 return rt2x00dev->ops->lib->sta_add(rt2x00dev, vif, sta); in rt2x00mac_sta_add() 544 struct ieee80211_sta *sta) in rt2x00mac_sta_remove() argument 547 struct rt2x00_sta *sta_priv = sta_to_rt2x00_sta(sta); in rt2x00mac_sta_remove()
|
D | rt2x00.h | 510 static inline struct rt2x00_sta* sta_to_rt2x00_sta(struct ieee80211_sta *sta) in sta_to_rt2x00_sta() argument 512 return (struct rt2x00_sta *)sta->drv_priv; in sta_to_rt2x00_sta() 627 struct ieee80211_sta *sta); 1432 int rt2x00mac_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta, 1436 struct ieee80211_vif *vif, struct ieee80211_sta *sta, 1442 struct ieee80211_sta *sta); 1444 struct ieee80211_sta *sta);
|
D | rt2x00queue.c | 302 struct ieee80211_sta *sta, in rt2x00queue_create_tx_descriptor_ht() argument 310 if (sta) { in rt2x00queue_create_tx_descriptor_ht() 312 sta->ht_cap.ampdu_density; in rt2x00queue_create_tx_descriptor_ht() 314 sta_priv = sta_to_rt2x00_sta(sta); in rt2x00queue_create_tx_descriptor_ht() 329 if (sta && txdesc->u.ht.mcs > 7 && in rt2x00queue_create_tx_descriptor_ht() 330 sta->smps_mode == IEEE80211_SMPS_DYNAMIC) in rt2x00queue_create_tx_descriptor_ht() 395 struct ieee80211_sta *sta) in rt2x00queue_create_tx_descriptor() argument 489 sta, hwrate); in rt2x00queue_create_tx_descriptor() 610 struct ieee80211_sta *sta, bool local) in rt2x00queue_write_tx_frame() argument 624 rt2x00queue_create_tx_descriptor(queue->rt2x00dev, skb, &txdesc, sta); in rt2x00queue_write_tx_frame()
|
D | rt2800lib.h | 185 struct ieee80211_sta *sta); 222 struct ieee80211_sta *sta, u16 tid, u16 *ssn,
|
/linux-4.4.14/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 1266 unsigned int sta, retries; in pasemi_mac_pause_txchan() local 1273 sta = read_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(txch)); in pasemi_mac_pause_txchan() 1274 if (!(sta & PAS_DMA_TXCHAN_TCMDSTA_ACT)) in pasemi_mac_pause_txchan() 1279 if (sta & PAS_DMA_TXCHAN_TCMDSTA_ACT) in pasemi_mac_pause_txchan() 1281 "Failed to stop tx channel, tcmdsta %08x\n", sta); in pasemi_mac_pause_txchan() 1288 unsigned int sta, retries; in pasemi_mac_pause_rxchan() local 1294 sta = read_dma_reg(PAS_DMA_RXCHAN_CCMDSTA(rxch)); in pasemi_mac_pause_rxchan() 1295 if (!(sta & PAS_DMA_RXCHAN_CCMDSTA_ACT)) in pasemi_mac_pause_rxchan() 1300 if (sta & PAS_DMA_RXCHAN_CCMDSTA_ACT) in pasemi_mac_pause_rxchan() 1302 "Failed to stop rx channel, ccmdsta 08%x\n", sta); in pasemi_mac_pause_rxchan() [all …]
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | acpiphp_glue.c | 588 unsigned long long sta = 0; in get_slot_status() local 596 "_STA", NULL, &sta); in get_slot_status() 597 if (ACPI_SUCCESS(status) && sta) in get_slot_status() 607 sta = ACPI_STA_ALL; in get_slot_status() 613 return (unsigned int)sta; in get_slot_status() 616 static inline bool device_status_valid(unsigned int sta) in device_status_valid() argument 624 return (sta & mask) == mask; in device_status_valid() 639 unsigned long long sta; in trim_stale_devices() local 641 status = acpi_evaluate_integer(adev->handle, "_STA", NULL, &sta); in trim_stale_devices() 642 alive = alive || (ACPI_SUCCESS(status) && device_status_valid(sta)); in trim_stale_devices()
|
/linux-4.4.14/drivers/staging/vt6656/ |
D | key.c | 121 int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta, in vnt_set_keys() argument 130 if (sta) in vnt_set_keys() 131 mac_addr = &sta->addr[0]; in vnt_set_keys()
|
D | key.h | 52 int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
|
/linux-4.4.14/drivers/staging/vt6655/ |
D | key.c | 113 int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta, in vnt_set_keys() argument 123 if (sta) in vnt_set_keys() 124 mac_addr = &sta->addr[0]; in vnt_set_keys()
|
D | key.h | 66 int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
|
/linux-4.4.14/arch/sparc/kernel/ |
D | wuf.S | 268 LEON_PI(sta %l5, [%g0] ASI_LEON_MMUREGS) ! store it 269 SUN_PI_(sta %l5, [%g0] ASI_M_MMUREGS) ! store it 284 LEON_PI(sta %twin_tmp1, [%g0] ASI_LEON_MMUREGS) ! store it 285 SUN_PI_(sta %twin_tmp1, [%g0] ASI_M_MMUREGS) ! store it
|
D | rtrap_32.S | 240 LEON_PI(sta %g1, [%g0] ASI_LEON_MMUREGS) 241 SUN_PI_(sta %g1, [%g0] ASI_M_MMUREGS) 250 LEON_PI(sta %g1, [%g0] ASI_LEON_MMUREGS) 251 SUN_PI_(sta %g1, [%g0] ASI_M_MMUREGS)
|
D | wof.S | 341 LEON_PI(sta %glob_tmp, [%g0] ASI_LEON_MMUREGS) ! set it 342 SUN_PI_(sta %glob_tmp, [%g0] ASI_M_MMUREGS) ! set it 349 LEON_PI(sta %glob_tmp, [%g0] ASI_LEON_MMUREGS) 350 SUN_PI_(sta %glob_tmp, [%g0] ASI_M_MMUREGS)
|
D | etrap_32.S | 253 LEON_PI(sta %glob_tmp, [%g0] ASI_LEON_MMUREGS) ! set it 254 SUN_PI_(sta %glob_tmp, [%g0] ASI_M_MMUREGS) ! set it 261 LEON_PI(sta %glob_tmp, [%g0] ASI_LEON_MMUREGS) 262 SUN_PI_(sta %glob_tmp, [%g0] ASI_M_MMUREGS)
|
D | head_32.S | 258 sta %g6, [%g0] ASI_M_MMUREGS ! Close your eyes... 276 sta %o2, [%o3] ASI_M_BYPASS 289 sta %g5, [%g0] ASI_M_MMUREGS ! POW... ouch 318 sta %g2, [%g3] ASI_M_BYPASS ! place at KERNBASE entry 342 sta %g2, [%g3] ASI_M_BYPASS ! place at KERNBASE entry 463 sta %g4, [%g0] ASI_M_VIKING_TMP1
|
D | trampoline_32.S | 118 sta %g1, [%g0] ASI_M_VIKING_TMP1 155 sta %g1, [%g5] ASI_LEON_MMUREGS
|
/linux-4.4.14/drivers/acpi/ |
D | pci_slot.c | 74 unsigned long long adr, sta; in check_slot() local 83 status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); in check_slot() 84 if (ACPI_SUCCESS(status) && !(sta & ACPI_STA_DEVICE_PRESENT)) in check_slot()
|
D | bus.c | 92 unsigned long long *sta) in acpi_bus_get_status_handle() argument 96 status = acpi_evaluate_integer(handle, "_STA", NULL, sta); in acpi_bus_get_status_handle() 101 *sta = ACPI_STA_DEVICE_PRESENT | ACPI_STA_DEVICE_ENABLED | in acpi_bus_get_status_handle() 111 unsigned long long sta; in acpi_bus_get_status() local 113 status = acpi_bus_get_status_handle(device->handle, &sta); in acpi_bus_get_status() 117 acpi_set_device_status(device, sta); in acpi_bus_get_status() 122 device->pnp.bus_id, (u32)sta)); in acpi_bus_get_status() 126 device->pnp.bus_id, (u32)sta)); in acpi_bus_get_status()
|
D | scan.c | 261 unsigned long long sta; in acpi_scan_hot_remove() local 293 status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); in acpi_scan_hot_remove() 297 } else if (sta & ACPI_STA_DEVICE_ENABLED) { in acpi_scan_hot_remove() 299 "Eject incomplete - status 0x%llx\n", sta); in acpi_scan_hot_remove() 1387 int type, unsigned long long sta) in acpi_init_device_object() argument 1394 acpi_set_device_status(device, sta); in acpi_init_device_object() 1415 unsigned long long sta) in acpi_add_single_object() argument 1427 acpi_init_device_object(device, handle, type, sta); in acpi_add_single_object() 1449 unsigned long long *sta) in acpi_bus_type_and_status() argument 1462 status = acpi_bus_get_status_handle(handle, sta); in acpi_bus_type_and_status() [all …]
|
D | glue.c | 89 unsigned long long sta; in find_child_checks() local 92 status = acpi_evaluate_integer(adev->handle, "_STA", NULL, &sta); in find_child_checks() 95 else if (ACPI_FAILURE(status) || !(sta & ACPI_STA_DEVICE_ENABLED)) in find_child_checks()
|
D | acpi_processor.c | 187 unsigned long long sta; in acpi_processor_hotadd_init() local 194 status = acpi_evaluate_integer(pr->handle, "_STA", NULL, &sta); in acpi_processor_hotadd_init() 195 if (ACPI_FAILURE(status) || !(sta & ACPI_STA_DEVICE_PRESENT)) in acpi_processor_hotadd_init()
|
D | dock.c | 229 unsigned long long sta; in dock_present() local 233 status = acpi_evaluate_integer(ds->handle, "_STA", NULL, &sta); in dock_present() 234 if (ACPI_SUCCESS(status) && sta) in dock_present()
|
D | device_sysfs.c | 480 unsigned long long sta; in status_show() local 482 status = acpi_evaluate_integer(acpi_dev->handle, "_STA", NULL, &sta); in status_show() 486 return sprintf(buf, "%llu\n", sta); in status_show()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.h | 63 struct ieee80211_sta *sta, u8 rssi_level); 65 struct ieee80211_sta *sta, u8 rssi_level);
|
D | trx.c | 425 struct ieee80211_sta *sta, in rtl92ce_tx_fill_desc() argument 456 sta = get_sta(hw, mac->vif, mac->bssid); in rtl92ce_tx_fill_desc() 462 if (sta) in rtl92ce_tx_fill_desc() 463 bw_40 = sta->bandwidth >= IEEE80211_STA_RX_BW_40; in rtl92ce_tx_fill_desc() 468 rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc); in rtl92ce_tx_fill_desc() 524 if (sta) { in rtl92ce_tx_fill_desc() 525 u8 ampdu_density = sta->ht_cap.ampdu_density; in rtl92ce_tx_fill_desc()
|
D | hw.c | 1842 struct ieee80211_sta *sta) in rtl92ce_update_hal_rate_table() argument 1855 u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl92ce_update_hal_rate_table() 1857 u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl92ce_update_hal_rate_table() 1863 ratr_value = sta->supp_rates[1] << 4; in rtl92ce_update_hal_rate_table() 1865 ratr_value = sta->supp_rates[0]; in rtl92ce_update_hal_rate_table() 1869 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl92ce_update_hal_rate_table() 1870 sta->ht_cap.mcs.rx_mask[0] << 12); in rtl92ce_update_hal_rate_table() 1934 struct ieee80211_sta *sta, u8 rssi_level) in rtl92ce_update_hal_rate_mask() argument 1943 u8 curtxbw_40mhz = (sta->ht_cap.cap & in rtl92ce_update_hal_rate_mask() 1945 u8 curshortgi_40mhz = (sta->ht_cap.cap & in rtl92ce_update_hal_rate_mask() [all …]
|
/linux-4.4.14/drivers/net/wireless/p54/ |
D | main.c | 39 struct ieee80211_sta *sta) in p54_sta_add_remove() argument 48 p54_sta_unlock(priv, sta->addr); in p54_sta_add_remove() 55 struct ieee80211_sta *sta) in p54_sta_notify() argument 62 p54_sta_unlock(priv, sta->addr); in p54_sta_notify() 69 static int p54_set_tim(struct ieee80211_hw *dev, struct ieee80211_sta *sta, in p54_set_tim() argument 74 return p54_update_beacon_tim(priv, sta->aid, set); in p54_set_tim() 504 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in p54_set_key() argument 591 if (sta) in p54_set_key() 592 addr = sta->addr; in p54_set_key()
|
D | fwio.c | 285 struct p54_sta_unlock *sta; in p54_sta_unlock() local 287 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*sta), in p54_sta_unlock() 292 sta = (struct p54_sta_unlock *)skb_put(skb, sizeof(*sta)); in p54_sta_unlock() 293 memcpy(sta->addr, addr, ETH_ALEN); in p54_sta_unlock()
|
/linux-4.4.14/drivers/net/wireless/ath/ |
D | key.c | 475 struct ieee80211_sta *sta, in ath_key_config() argument 517 if (!sta) { in ath_key_config() 521 memcpy(gmac, sta->addr, ETH_ALEN); in ath_key_config() 531 if (WARN_ON(!sta)) in ath_key_config() 533 mac = sta->addr; in ath_key_config() 542 if (WARN_ON(!sta)) in ath_key_config() 544 mac = sta->addr; in ath_key_config()
|
/linux-4.4.14/drivers/edac/ |
D | octeon_edac-pci.c | 49 if (cfg01.s.sta) { in octeon_pci_poll() 51 cfg01.s.sta = 1; /* Reset */ in octeon_pci_poll()
|
/linux-4.4.14/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 321 u32 sta; in pasemi_dma_stop_chan() local 327 sta = pasemi_read_dma_reg(reg); in pasemi_dma_stop_chan() 328 if (!(sta & PAS_DMA_RXCHAN_CCMDSTA_ACT)) { in pasemi_dma_stop_chan() 338 sta = pasemi_read_dma_reg(reg); in pasemi_dma_stop_chan() 339 if (!(sta & PAS_DMA_TXCHAN_TCMDSTA_ACT)) { in pasemi_dma_stop_chan()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 2032 struct ieee80211_sta *sta) in rtl92se_update_hal_rate_table() argument 2045 u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl92se_update_hal_rate_table() 2047 u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl92se_update_hal_rate_table() 2052 ratr_value = sta->supp_rates[1] << 4; in rtl92se_update_hal_rate_table() 2054 ratr_value = sta->supp_rates[0]; in rtl92se_update_hal_rate_table() 2057 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl92se_update_hal_rate_table() 2058 sta->ht_cap.mcs.rx_mask[0] << 12); in rtl92se_update_hal_rate_table() 2133 struct ieee80211_sta *sta, in rtl92se_update_hal_rate_mask() argument 2143 u8 curtxbw_40mhz = (sta->bandwidth >= IEEE80211_STA_RX_BW_40) ? 1 : 0; in rtl92se_update_hal_rate_mask() 2144 u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl92se_update_hal_rate_mask() [all …]
|
D | trx.h | 35 struct ieee80211_sta *sta,
|
D | hw.h | 66 struct ieee80211_sta *sta, u8 rssi_level);
|
D | trx.c | 341 struct ieee80211_sta *sta, in rtl92se_tx_fill_desc() argument 370 if (sta) in rtl92se_tx_fill_desc() 371 bw_40 = sta->bandwidth >= IEEE80211_STA_RX_BW_40; in rtl92se_tx_fill_desc() 376 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl92se_tx_fill_desc()
|
D | dm.c | 233 struct ieee80211_sta *sta = NULL; in _rtl92s_dm_refresh_rateadaptive_mask() local 299 sta = rtl_find_sta(hw, mac->bssid); in _rtl92s_dm_refresh_rateadaptive_mask() 300 if (sta) in _rtl92s_dm_refresh_rateadaptive_mask() 301 rtlpriv->cfg->ops->update_rate_tbl(hw, sta, in _rtl92s_dm_refresh_rateadaptive_mask()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 1866 struct ieee80211_sta *sta) in rtl92de_update_hal_rate_table() argument 1879 u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl92de_update_hal_rate_table() 1881 u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl92de_update_hal_rate_table() 1886 ratr_value = sta->supp_rates[1] << 4; in rtl92de_update_hal_rate_table() 1888 ratr_value = sta->supp_rates[0]; in rtl92de_update_hal_rate_table() 1889 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl92de_update_hal_rate_table() 1890 sta->ht_cap.mcs.rx_mask[0] << 12); in rtl92de_update_hal_rate_table() 1948 struct ieee80211_sta *sta, u8 rssi_level) in rtl92de_update_hal_rate_mask() argument 1957 u8 curtxbw_40mhz = (sta->bandwidth >= IEEE80211_STA_RX_BW_40) ? 1 : 0; in rtl92de_update_hal_rate_mask() 1958 u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl92de_update_hal_rate_mask() [all …]
|
D | trx.c | 548 struct ieee80211_sta *sta, in rtl92de_tx_fill_desc() argument 574 if (sta) in rtl92de_tx_fill_desc() 575 bw_40 = sta->bandwidth >= IEEE80211_STA_RX_BW_40; in rtl92de_tx_fill_desc() 578 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl92de_tx_fill_desc() 661 if (sta) { in rtl92de_tx_fill_desc() 662 u8 ampdu_density = sta->ht_cap.ampdu_density; in rtl92de_tx_fill_desc()
|
D | hw.h | 50 struct ieee80211_sta *sta, u8 rssi_level);
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | trx.c | 365 struct ieee80211_sta *sta, in rtl8723e_tx_fill_desc() argument 399 if (sta) in rtl8723e_tx_fill_desc() 400 bw_40 = sta->ht_cap.cap & in rtl8723e_tx_fill_desc() 406 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl8723e_tx_fill_desc() 465 if (sta) { in rtl8723e_tx_fill_desc() 466 u8 ampdu_density = sta->ht_cap.ampdu_density; in rtl8723e_tx_fill_desc()
|
D | hw.c | 1904 struct ieee80211_sta *sta) in rtl8723e_update_hal_rate_table() argument 1916 u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl8723e_update_hal_rate_table() 1918 u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl8723e_update_hal_rate_table() 1924 ratr_value = sta->supp_rates[1] << 4; in rtl8723e_update_hal_rate_table() 1926 ratr_value = sta->supp_rates[0]; in rtl8723e_update_hal_rate_table() 1929 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl8723e_update_hal_rate_table() 1930 sta->ht_cap.mcs.rx_mask[0] << 12); in rtl8723e_update_hal_rate_table() 1993 struct ieee80211_sta *sta, in rtl8723e_update_hal_rate_mask() argument 2003 u8 curtxbw_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) in rtl8723e_update_hal_rate_mask() 2005 u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl8723e_update_hal_rate_mask() [all …]
|
D | hw.h | 52 struct ieee80211_sta *sta, u8 rssi_level);
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 1965 struct ieee80211_sta *sta) in rtl92cu_update_hal_rate_table() argument 1978 u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl92cu_update_hal_rate_table() 1980 u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl92cu_update_hal_rate_table() 1985 ratr_value = sta->supp_rates[1] << 4; in rtl92cu_update_hal_rate_table() 1987 ratr_value = sta->supp_rates[0]; in rtl92cu_update_hal_rate_table() 1991 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl92cu_update_hal_rate_table() 1992 sta->ht_cap.mcs.rx_mask[0] << 12); in rtl92cu_update_hal_rate_table() 2054 struct ieee80211_sta *sta, in rtl92cu_update_hal_rate_mask() argument 2064 u8 curtxbw_40mhz = (sta->bandwidth >= IEEE80211_STA_RX_BW_40) ? 1 : 0; in rtl92cu_update_hal_rate_mask() 2066 (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl92cu_update_hal_rate_mask() [all …]
|
D | trx.c | 498 struct ieee80211_sta *sta, in rtl92cu_tx_fill_desc() argument 518 rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc); in rtl92cu_tx_fill_desc() 565 sta = ieee80211_find_sta(mac->vif, mac->bssid); in rtl92cu_tx_fill_desc() 566 if (sta) { in rtl92cu_tx_fill_desc() 567 u8 ampdu_density = sta->ht_cap.ampdu_density; in rtl92cu_tx_fill_desc()
|
D | hw.h | 110 struct ieee80211_sta *sta,
|
/linux-4.4.14/arch/sparc/crypto/ |
D | crc32c_asm.S | 16 sta %f1, [%o0] ASI_PL
|
/linux-4.4.14/drivers/xen/ |
D | xen-acpi-cpuhotplug.c | 131 unsigned long long sta = 0; in is_processor_present() local 134 status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); in is_processor_present() 136 if (ACPI_SUCCESS(status) && (sta & ACPI_STA_DEVICE_PRESENT)) in is_processor_present()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 2041 struct ieee80211_sta *sta) in rtl88ee_update_hal_rate_table() argument 2054 u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl88ee_update_hal_rate_table() 2056 u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl88ee_update_hal_rate_table() 2062 ratr_value = sta->supp_rates[1] << 4; in rtl88ee_update_hal_rate_table() 2064 ratr_value = sta->supp_rates[0]; in rtl88ee_update_hal_rate_table() 2067 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl88ee_update_hal_rate_table() 2068 sta->ht_cap.mcs.rx_mask[0] << 12); in rtl88ee_update_hal_rate_table() 2131 struct ieee80211_sta *sta, u8 rssi_level) in rtl88ee_update_hal_rate_mask() argument 2140 u8 curtxbw_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) in rtl88ee_update_hal_rate_mask() 2142 u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl88ee_update_hal_rate_mask() [all …]
|
D | trx.c | 500 struct ieee80211_sta *sta, in rtl88ee_tx_fill_desc() argument 527 if (sta) in rtl88ee_tx_fill_desc() 528 bw_40 = sta->ht_cap.cap & in rtl88ee_tx_fill_desc() 532 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl88ee_tx_fill_desc() 614 if (sta) { in rtl88ee_tx_fill_desc() 615 u8 ampdu_density = sta->ht_cap.ampdu_density; in rtl88ee_tx_fill_desc()
|
D | hw.h | 50 struct ieee80211_sta *sta, u8 rssi_level);
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | nv40.c | 248 char msg[128], src[128], sta[128]; in nv40_gr_intr() local 273 nvkm_snprintbf(sta, sizeof(sta), nv10_gr_nstatus, nstatus); in nv40_gr_intr() 277 show, msg, nsource, src, nstatus, sta, in nv40_gr_intr()
|
D | nv20.c | 195 char msg[128], src[128], sta[128]; in nv20_gr_intr() local 206 nvkm_snprintbf(sta, sizeof(sta), nv10_gr_nstatus, nstatus); in nv20_gr_intr() 210 show, msg, nsource, src, nstatus, sta, chid, in nv20_gr_intr()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | trx.c | 427 struct ieee80211_sta *sta, struct sk_buff *skb, in rtl8723be_tx_fill_desc() argument 452 if (sta) in rtl8723be_tx_fill_desc() 453 bw_40 = sta->ht_cap.cap & in rtl8723be_tx_fill_desc() 457 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl8723be_tx_fill_desc() 538 if (sta) { in rtl8723be_tx_fill_desc() 539 u8 ampdu_density = sta->ht_cap.ampdu_density; in rtl8723be_tx_fill_desc()
|
D | hw.h | 48 struct ieee80211_sta *sta,
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 3358 struct ieee80211_sta *sta) in rtl8821ae_update_hal_rate_table() argument 3371 u8 b_curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl8821ae_update_hal_rate_table() 3373 u8 b_curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl8821ae_update_hal_rate_table() 3378 ratr_value = sta->supp_rates[1] << 4; in rtl8821ae_update_hal_rate_table() 3380 ratr_value = sta->supp_rates[0]; in rtl8821ae_update_hal_rate_table() 3383 ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | in rtl8821ae_update_hal_rate_table() 3384 sta->ht_cap.mcs.rx_mask[0] << 12); in rtl8821ae_update_hal_rate_table() 3620 static bool _rtl8821ae_get_ra_shortgi(struct ieee80211_hw *hw, struct ieee80211_sta *sta, in _rtl8821ae_get_ra_shortgi() argument 3624 u8 b_curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in _rtl8821ae_get_ra_shortgi() 3626 u8 b_curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in _rtl8821ae_get_ra_shortgi() [all …]
|
D | hw.h | 48 struct ieee80211_sta *sta,
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.h | 46 struct ieee80211_sta *sta, u8 rssi_level);
|
D | trx.c | 665 struct ieee80211_sta *sta, in rtl92ee_tx_fill_desc() argument 690 if (sta) in rtl92ee_tx_fill_desc() 691 bw_40 = sta->ht_cap.cap & in rtl92ee_tx_fill_desc() 695 rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc); in rtl92ee_tx_fill_desc() 789 if (sta) { in rtl92ee_tx_fill_desc() 790 u8 ampdu_density = sta->ht_cap.ampdu_density; in rtl92ee_tx_fill_desc()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
D | ampdu.c | 148 struct ieee80211_sta *sta; member 1128 struct ieee80211_sta *sta = arg_a; in dma_cb_fn_ampdu() local 1132 (tx_info->rate_driver_data[0] == sta || sta == NULL)) in dma_cb_fn_ampdu() 1141 struct ieee80211_sta *sta, u16 tid) in brcms_c_ampdu_flush() argument 1143 brcms_c_inval_dma_pkts(wlc->hw, sta, dma_cb_fn_ampdu); in brcms_c_ampdu_flush()
|
D | mac80211_if.c | 417 tx_info->rate_driver_data[0] = control->sta; in brcms_ops_tx() 800 struct ieee80211_sta *sta) in brcms_ops_sta_add() argument 822 struct ieee80211_sta *sta, u16 tid, u16 *ssn, in brcms_ops_ampdu_action() argument 845 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in brcms_ops_ampdu_action() 852 brcms_c_ampdu_flush(wl->wlc, sta, tid); in brcms_ops_ampdu_action() 854 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in brcms_ops_ampdu_action() 866 sta->ht_cap.ampdu_factor)) - 1); in brcms_ops_ampdu_action()
|
/linux-4.4.14/drivers/mtd/devices/ |
D | st_spi_fsm.c | 1157 uint8_t sta; in stfsm_mx25_config() local 1190 stfsm_read_status(fsm, SPINOR_OP_RDSR, &sta, 1); in stfsm_mx25_config() 1193 if (!(sta & MX25_STATUS_QE)) { in stfsm_mx25_config() 1195 sta |= MX25_STATUS_QE; in stfsm_mx25_config() 1197 stfsm_write_status(fsm, SPINOR_OP_WRSR, sta, 1, 1); in stfsm_mx25_config() 1200 if (sta & MX25_STATUS_QE) { in stfsm_mx25_config() 1202 sta &= ~MX25_STATUS_QE; in stfsm_mx25_config() 1204 stfsm_write_status(fsm, SPINOR_OP_WRSR, sta, 1, 1); in stfsm_mx25_config()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu.c | 4450 struct ieee80211_sta *sta; in rtl8xxxu_bss_info_changed() local 4467 sta = ieee80211_find_sta(vif, bss_conf->bssid); in rtl8xxxu_bss_info_changed() 4468 if (!sta) { in rtl8xxxu_bss_info_changed() 4475 if (sta->ht_cap.ht_supported) in rtl8xxxu_bss_info_changed() 4477 if (sta->vht_cap.vht_supported) in rtl8xxxu_bss_info_changed() 4481 ramask = (sta->supp_rates[0] & 0xfff) | in rtl8xxxu_bss_info_changed() 4482 sta->ht_cap.mcs.rx_mask[0] << 12 | in rtl8xxxu_bss_info_changed() 4483 sta->ht_cap.mcs.rx_mask[1] << 20; in rtl8xxxu_bss_info_changed() 4484 if (sta->ht_cap.cap & in rtl8xxxu_bss_info_changed() 4747 struct ieee80211_sta *sta = NULL; in rtl8xxxu_tx() local [all …]
|
/linux-4.4.14/include/acpi/ |
D | acpi_bus.h | 434 static inline void acpi_set_device_status(struct acpi_device *adev, u32 sta) in acpi_set_device_status() argument 436 *((u32 *)&adev->status) = sta; in acpi_set_device_status() 485 unsigned long long *sta);
|
/linux-4.4.14/drivers/staging/rtl8723au/core/ |
D | rtw_cmd.c | 670 struct sta_info *sta = (struct sta_info *)psta; in rtw_setstakey_cmd23a() local 698 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd23a() 704 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, in rtw_setstakey_cmd23a() 709 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd23a() 734 struct sta_info *sta = (struct sta_info *)psta; in rtw_clearstakey_cmd23a() local 768 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_clearstakey_cmd23a()
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
D | rtw_cmd.c | 609 struct sta_info *sta = (struct sta_info *)psta; in rtw_setstakey_cmd() local 638 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd() 643 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd() 646 memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16); in rtw_setstakey_cmd() 667 struct sta_info *sta = (struct sta_info *)psta; in rtw_clearstakey_cmd() local 699 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_clearstakey_cmd()
|
/linux-4.4.14/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 1154 struct ieee80211_sta *sta; in ar5523_get_wlan_mode() local 1158 sta = ieee80211_find_sta(ar->vif, bss_conf->bssid); in ar5523_get_wlan_mode() 1159 if (!sta) { in ar5523_get_wlan_mode() 1163 sta_rate_set = sta->supp_rates[ar->hw->conf.chandef.chan->band]; in ar5523_get_wlan_mode() 1191 struct ieee80211_sta *sta; in ar5523_create_rateset() local 1195 sta = ieee80211_find_sta(ar->vif, bss_conf->bssid); in ar5523_create_rateset() 1197 if (!sta) { in ar5523_create_rateset() 1201 sta_rate_set = sta->supp_rates[ar->hw->conf.chandef.chan->band]; in ar5523_create_rateset()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-bcm-kona.c | 440 unsigned long sta; in bcm_kona_gpio_irq_handler() local 454 while ((sta = readl(reg_base + GPIO_INT_STATUS(bank_id)) & in bcm_kona_gpio_irq_handler() 456 for_each_set_bit(bit, &sta, 32) { in bcm_kona_gpio_irq_handler()
|