/drivers/net/wireless/intersil/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 …]
|
/drivers/staging/rtl8188eu/include/ |
D | sta_info.h | 207 #define sta_rx_pkts(sta) \ argument 208 (sta->sta_stats.rx_mgnt_pkts \ 209 + sta->sta_stats.rx_ctrl_pkts \ 210 + sta->sta_stats.rx_data_pkts) 212 #define sta_last_rx_pkts(sta) \ argument 213 (sta->sta_stats.last_rx_mgnt_pkts \ 214 + sta->sta_stats.last_rx_ctrl_pkts \ 215 + sta->sta_stats.last_rx_data_pkts) 217 #define sta_rx_data_pkts(sta) \ argument 218 (sta->sta_stats.rx_data_pkts) [all …]
|
/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 | 223 if (!rtlpriv->intf_ops->waitq_insert(hw, control->sta, skb)) in rtl_op_tx() 224 rtlpriv->intf_ops->adapter_tx(hw, control->sta, skb, &tcb_desc); in rtl_op_tx() 896 struct ieee80211_sta *sta) in rtl_op_sta_add() argument 903 if (sta) { in rtl_op_sta_add() 904 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in rtl_op_sta_add() 910 if (sta->supp_rates[0] <= 0xf) in rtl_op_sta_add() 912 if (sta->ht_cap.ht_supported) in rtl_op_sta_add() 919 if (sta->ht_cap.ht_supported) in rtl_op_sta_add() 921 if (sta->vht_cap.vht_supported) in rtl_op_sta_add() 929 sta->supp_rates[0] &= 0xfffffff0; in rtl_op_sta_add() [all …]
|
/drivers/net/wireless/intel/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 | 113 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_sta_send_to_fw() argument 116 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_send_to_fw() 131 memcpy(&add_sta_cmd.addr, sta->addr, ETH_ALEN); in iwl_mvm_sta_send_to_fw() 137 switch (sta->bandwidth) { in iwl_mvm_sta_send_to_fw() 148 if (sta->ht_cap.ht_supported) in iwl_mvm_sta_send_to_fw() 154 switch (sta->rx_nss) { in iwl_mvm_sta_send_to_fw() 166 switch (sta->smps_mode) { in iwl_mvm_sta_send_to_fw() 184 if (sta->ht_cap.ht_supported) { in iwl_mvm_sta_send_to_fw() 189 mpdu_dens = sta->ht_cap.ampdu_density; in iwl_mvm_sta_send_to_fw() 192 if (sta->vht_cap.vht_supported) { in iwl_mvm_sta_send_to_fw() [all …]
|
D | sta.h | 445 iwl_mvm_sta_from_mac80211(struct ieee80211_sta *sta) in iwl_mvm_sta_from_mac80211() argument 447 return (void *)sta->drv_priv; in iwl_mvm_sta_from_mac80211() 471 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, 475 struct ieee80211_sta *sta); 479 struct ieee80211_sta *sta) in iwl_mvm_update_sta() argument 481 return iwl_mvm_sta_send_to_fw(mvm, sta, true, 0); in iwl_mvm_update_sta() 486 struct ieee80211_sta *sta); 492 struct ieee80211_sta *sta, 497 struct ieee80211_sta *sta, 503 struct ieee80211_sta *sta, u32 iv32, [all …]
|
D | rxmq.c | 69 int queue, struct ieee80211_sta *sta) in iwl_mvm_check_pn() argument 99 if (IS_ERR_OR_NULL(sta)) { in iwl_mvm_check_pn() 105 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_pn() 196 struct ieee80211_sta *sta) in iwl_mvm_pass_packet_to_mac80211() argument 198 if (iwl_mvm_check_pn(mvm, skb, queue, sta)) in iwl_mvm_pass_packet_to_mac80211() 201 ieee80211_rx_napi(mvm->hw, sta, skb, napi); in iwl_mvm_pass_packet_to_mac80211() 279 static void iwl_mvm_rx_csum(struct ieee80211_sta *sta, in iwl_mvm_rx_csum() argument 283 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() 301 static bool iwl_mvm_is_nonagg_dup(struct ieee80211_sta *sta, int queue, in iwl_mvm_is_nonagg_dup() argument 310 if (WARN_ON(IS_ERR_OR_NULL(sta))) in iwl_mvm_is_nonagg_dup() [all …]
|
D | rs.c | 141 struct ieee80211_sta *sta, 153 static bool rs_ant_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in rs_ant_allow() argument 160 static bool rs_mimo_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in rs_mimo_allow() argument 167 if (!sta->ht_cap.ht_supported) in rs_mimo_allow() 170 if (sta->smps_mode == IEEE80211_SMPS_STATIC) in rs_mimo_allow() 176 if (!iwl_mvm_bt_coex_is_mimo_allowed(mvm, sta)) in rs_mimo_allow() 179 mvmsta = iwl_mvm_sta_from_mac80211(sta); in rs_mimo_allow() 188 static bool rs_siso_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in rs_siso_allow() argument 192 if (!sta->ht_cap.ht_supported) in rs_siso_allow() 198 static bool rs_sgi_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in rs_sgi_allow() argument [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) { in iwl_mvm_fill_sf_command() 220 struct ieee80211_sta *sta; in iwl_mvm_sf_config() local 244 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_sf_config() 245 if (IS_ERR_OR_NULL(sta)) { in iwl_mvm_sf_config() 250 iwl_mvm_fill_sf_command(mvm, &sf_cmd, sta); in iwl_mvm_sf_config()
|
D | rx.c | 100 struct ieee80211_sta *sta, in iwl_mvm_pass_packet_to_mac80211() argument 147 ieee80211_rx_napi(mvm->hw, sta, skb, napi); in iwl_mvm_pass_packet_to_mac80211() 254 static void iwl_mvm_rx_csum(struct ieee80211_sta *sta, in iwl_mvm_rx_csum() argument 258 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() 280 struct ieee80211_sta *sta = NULL; in iwl_mvm_rx_rx_mpdu() local 355 sta = rcu_dereference(mvm->fw_id_to_mac_id[id]); in iwl_mvm_rx_rx_mpdu() 356 if (IS_ERR(sta)) in iwl_mvm_rx_rx_mpdu() 357 sta = NULL; in iwl_mvm_rx_rx_mpdu() 363 sta = ieee80211_find_sta_by_ifaddr(mvm->hw, hdr->addr2, NULL); in iwl_mvm_rx_rx_mpdu() 366 if (sta) { in iwl_mvm_rx_rx_mpdu() [all …]
|
D | tx.c | 305 struct ieee80211_sta *sta, __le16 fc) in iwl_mvm_set_tx_cmd_rate() argument 330 if (ieee80211_is_data(fc) && sta) { in iwl_mvm_set_tx_cmd_rate() 350 &mvm->nvm_data->bands[info->band], sta); in iwl_mvm_set_tx_cmd_rate() 458 struct ieee80211_sta *sta, u8 sta_id) in iwl_mvm_set_tx_params() argument 478 iwl_mvm_set_tx_cmd_rate(mvm, tx_cmd, info, sta, hdr->frame_control); in iwl_mvm_set_tx_params() 636 struct ieee80211_sta *sta, in iwl_mvm_tx_tso() argument 639 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_tso() 662 if (!sta->max_amsdu_len || in iwl_mvm_tx_tso() 694 max_amsdu_len = sta->max_amsdu_len; in iwl_mvm_tx_tso() 718 !sta->vht_cap.vht_supported) in iwl_mvm_tx_tso() [all …]
|
/drivers/net/wireless/intel/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 | 597 if (iwlagn_tx_skb(priv, control->sta, skb)) in iwlagn_mac_tx() 604 struct ieee80211_sta *sta, in iwlagn_mac_update_tkip_key() argument 609 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key() 614 struct ieee80211_sta *sta, in iwlagn_mac_set_key() argument 670 key->cipher == WLAN_CIPHER_SUITE_WEP104) && !sta) { in iwlagn_mac_set_key() 685 ret = iwl_set_dynamic_key(priv, vif_priv->ctx, key, sta); in iwlagn_mac_set_key() 701 ret = iwl_remove_dynamic_key(priv, ctx, key, sta); in iwlagn_mac_set_key() 739 struct ieee80211_sta *sta = params->sta; in iwlagn_mac_ampdu_action() local 744 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_mac_ampdu_action() 747 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 …]
|
/drivers/net/wireless/ath/ath10k/ |
D | debugfs_sta.c | 25 struct ieee80211_sta *sta; in ath10k_sta_update_extd_stats_rx_duration() local 30 sta = ieee80211_find_sta_by_ifaddr(ar->hw, peer->peer_macaddr, in ath10k_sta_update_extd_stats_rx_duration() 32 if (!sta) in ath10k_sta_update_extd_stats_rx_duration() 34 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_sta_update_extd_stats_rx_duration() 44 struct ieee80211_sta *sta; in ath10k_sta_update_stats_rx_duration() local 49 sta = ieee80211_find_sta_by_ifaddr(ar->hw, peer->peer_macaddr, in ath10k_sta_update_stats_rx_duration() 51 if (!sta) in ath10k_sta_update_stats_rx_duration() 53 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_sta_update_stats_rx_duration() 69 struct ieee80211_sta *sta, in ath10k_sta_statistics() argument 72 struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_sta_statistics() [all …]
|
D | mac.c | 672 struct ieee80211_sta *sta, in ath10k_peer_create() argument 719 peer->sta = sta; in ath10k_peer_create() 863 struct ieee80211_sta *sta, in ath10k_mac_tdls_peer_update() argument 875 ether_addr_copy(arg.addr, sta->addr); in ath10k_mac_tdls_peer_update() 877 cap.peer_max_sp = sta->max_sp; in ath10k_mac_tdls_peer_update() 878 cap.peer_uapsd_queues = sta->uapsd_queues; in ath10k_mac_tdls_peer_update() 881 !sta->tdls_initiator) in ath10k_mac_tdls_peer_update() 1775 if (arvif->u.sta.uapsd) in ath10k_mac_vif_recalc_ps_wake_threshold() 1800 if (arvif->u.sta.uapsd) in ath10k_mac_vif_recalc_ps_poll_count() 2071 struct ieee80211_sta *sta, in ath10k_peer_assoc_h_basic() argument [all …]
|
/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() 298 __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock) in wil_addba_rx_request() [all …]
|
/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 …]
|
/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 444 if (control->sta) in wcn36xx_tx() 445 sta_priv = wcn36xx_sta_to_priv(control->sta); in wcn36xx_tx() 453 struct ieee80211_sta *sta, in wcn36xx_set_key() argument 458 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_set_key() 513 sta, in wcn36xx_set_key() 514 sta->addr, in wcn36xx_set_key() 586 static void wcn36xx_update_allowed_rates(struct ieee80211_sta *sta, in wcn36xx_update_allowed_rates() argument 591 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_update_allowed_rates() 592 u32 rates = sta->supp_rates[band]; in wcn36xx_update_allowed_rates() 618 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[NL80211_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 …]
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | main.c | 215 struct ieee80211_sta *sta) in mt7601u_sta_add() argument 218 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_sta_add() 233 mt7601u_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); in mt7601u_sta_add() 246 struct ieee80211_sta *sta) in mt7601u_sta_remove() argument 249 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_sta_remove() 265 enum sta_notify_cmd cmd, struct ieee80211_sta *sta) in mt7601u_sta_notify() argument 292 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in mt7601u_set_key() argument 297 struct mt76_sta *msta = sta ? (struct mt76_sta *) sta->drv_priv : NULL; in mt7601u_set_key() 339 struct ieee80211_sta *sta = params->sta; in mt76_ampdu_action() local 343 struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv; in mt76_ampdu_action() [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_main.c | 468 struct ieee80211_sta *sta) in ath9k_htc_add_station() argument 487 if (sta) { in ath9k_htc_add_station() 488 ista = (struct ath9k_htc_sta *) sta->drv_priv; in ath9k_htc_add_station() 489 memcpy(&tsta.macaddr, sta->addr, ETH_ALEN); in ath9k_htc_add_station() 494 sta->ht_cap.ampdu_factor); in ath9k_htc_add_station() 507 if (sta) in ath9k_htc_add_station() 510 sta->addr); in ath9k_htc_add_station() 514 if (sta) { in ath9k_htc_add_station() 517 sta->addr, tsta.sta_index); in ath9k_htc_add_station() 526 if (!sta) in ath9k_htc_add_station() [all …]
|
/drivers/net/wireless/broadcom/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() 95 if ((sta || (memcmp(hash[hash_idx].mac, mac, ETH_ALEN) == 0)) && in brcmf_flowring_lookup() 120 bool sta; in brcmf_flowring_create() local 124 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_create() 126 if ((!sta) && (is_multicast_ether_addr(da))) { in brcmf_flowring_create() [all …]
|