Home
last modified time | relevance | path

Searched refs:keyix (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dcommon.c127 u8 keyix; in ath9k_cmn_rx_skb_postprocess() local
150 keyix = rx_stats->rs_keyix; in ath9k_cmn_rx_skb_postprocess()
152 if (!(keyix == ATH9K_RXKEYIX_INVALID) && !decrypt_error && in ath9k_cmn_rx_skb_postprocess()
157 keyix = skb->data[hdrlen + 3] >> 6; in ath9k_cmn_rx_skb_postprocess()
159 if (test_bit(keyix, common->keymap)) in ath9k_cmn_rx_skb_postprocess()
H A Dar9002_mac.c261 ctl1 |= (i->keyix != ATH9K_TXKEYIX_INVALID ? SM(i->keyix, AR_DestIdx) : 0) in ar9002_set_txdesc()
287 | (i->keyix != ATH9K_TXKEYIX_INVALID ? AR_DestIdxValid : 0) in ar9002_set_txdesc()
H A Dmain.c831 static bool ath9k_txq_list_has_key(struct list_head *txq_list, u32 keyix) in ath9k_txq_list_has_key() argument
843 if (fi->keyix == keyix) in ath9k_txq_list_has_key()
850 static bool ath9k_txq_has_key(struct ath_softc *sc, u32 keyix) in ath9k_txq_has_key() argument
867 key_in_use = ath9k_txq_list_has_key(&txq->axq_q, keyix); in ath9k_txq_has_key()
875 &txq->txq_fifo[idx], keyix); in ath9k_txq_has_key()
885 static void ath9k_pending_key_del(struct ath_softc *sc, u8 keyix) in ath9k_pending_key_del() argument
890 if (!test_bit(keyix, ah->pending_del_keymap) || in ath9k_pending_key_del()
891 ath9k_txq_has_key(sc, keyix)) in ath9k_pending_key_del()
895 clear_bit(keyix, a in ath9k_pending_key_del()
[all...]
H A Dar9003_mac.c106 | (i->keyix != ATH9K_TXKEYIX_INVALID ? AR_DestIdxValid : 0) in ar9003_set_txdesc()
112 ctl12 = (i->keyix != ATH9K_TXKEYIX_INVALID ? in ar9003_set_txdesc()
113 SM(i->keyix, AR_DestIdx) : 0) in ar9003_set_txdesc()
H A Dhtc.h80 u8 keyix; member
91 u8 keyix; member
H A Dhtc_drv_txrx.c251 mgmt_hdr.keyix = (u8) ATH9K_TXKEYIX_INVALID; in ath9k_htc_tx_mgmt()
253 mgmt_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_mgmt()
318 tx_hdr.keyix = (u8) ATH9K_TXKEYIX_INVALID; in ath9k_htc_tx_data()
320 tx_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_data()
1018 "Invalid keyix, dropping (keyix: %d)\n", in ath9k_rx_prepare()
H A Dxmit.c843 if ((fi->keyix != ATH9K_TXKEYIX_INVALID) && in ath_compute_num_delims()
1416 info.keyix = fi->keyix; in ath_tx_fill_desc()
2117 fi->keyix = hw_key->hw_key_idx; in setup_frame_info()
2119 fi->keyix = an->ps_key; in setup_frame_info()
2121 fi->keyix = ATH9K_TXKEYIX_INVALID; in setup_frame_info()
2883 fi->keyix = ATH9K_TXKEYIX_INVALID; in ath9k_tx99_send()
H A Dbeacon.c93 info.keyix = ATH9K_TXKEYIX_INVALID; in ath9k_beacon_setup()
H A Dmac.h710 u8 keyix; member
H A Dath9k.h178 u8 keyix; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dcommon.c127 u8 keyix; in ath9k_cmn_rx_skb_postprocess() local
150 keyix = rx_stats->rs_keyix; in ath9k_cmn_rx_skb_postprocess()
152 if (!(keyix == ATH9K_RXKEYIX_INVALID) && !decrypt_error && in ath9k_cmn_rx_skb_postprocess()
157 keyix = skb->data[hdrlen + 3] >> 6; in ath9k_cmn_rx_skb_postprocess()
159 if (test_bit(keyix, common->keymap)) in ath9k_cmn_rx_skb_postprocess()
H A Dar9002_mac.c261 ctl1 |= (i->keyix != ATH9K_TXKEYIX_INVALID ? SM(i->keyix, AR_DestIdx) : 0) in ar9002_set_txdesc()
287 | (i->keyix != ATH9K_TXKEYIX_INVALID ? AR_DestIdxValid : 0) in ar9002_set_txdesc()
H A Dmain.c831 static bool ath9k_txq_list_has_key(struct list_head *txq_list, u32 keyix) in ath9k_txq_list_has_key() argument
843 if (fi->keyix == keyix) in ath9k_txq_list_has_key()
850 static bool ath9k_txq_has_key(struct ath_softc *sc, u32 keyix) in ath9k_txq_has_key() argument
867 key_in_use = ath9k_txq_list_has_key(&txq->axq_q, keyix); in ath9k_txq_has_key()
875 &txq->txq_fifo[idx], keyix); in ath9k_txq_has_key()
885 static void ath9k_pending_key_del(struct ath_softc *sc, u8 keyix) in ath9k_pending_key_del() argument
890 if (!test_bit(keyix, ah->pending_del_keymap) || in ath9k_pending_key_del()
891 ath9k_txq_has_key(sc, keyix)) in ath9k_pending_key_del()
895 clear_bit(keyix, a in ath9k_pending_key_del()
[all...]
H A Dar9003_mac.c106 | (i->keyix != ATH9K_TXKEYIX_INVALID ? AR_DestIdxValid : 0) in ar9003_set_txdesc()
112 ctl12 = (i->keyix != ATH9K_TXKEYIX_INVALID ? in ar9003_set_txdesc()
113 SM(i->keyix, AR_DestIdx) : 0) in ar9003_set_txdesc()
H A Dhtc.h80 u8 keyix; member
91 u8 keyix; member
H A Dhtc_drv_txrx.c251 mgmt_hdr.keyix = (u8) ATH9K_TXKEYIX_INVALID; in ath9k_htc_tx_mgmt()
253 mgmt_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_mgmt()
323 tx_hdr.keyix = (u8) ATH9K_TXKEYIX_INVALID; in ath9k_htc_tx_data()
325 tx_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_data()
1019 "Invalid keyix, dropping (keyix: %d)\n", in ath9k_rx_prepare()
H A Dxmit.c892 if ((fi->keyix != ATH9K_TXKEYIX_INVALID) && in ath_compute_num_delims()
1477 info.keyix = fi->keyix; in ath_tx_fill_desc()
2176 fi->keyix = hw_key->hw_key_idx; in setup_frame_info()
2178 fi->keyix = an->ps_key; in setup_frame_info()
2180 fi->keyix = ATH9K_TXKEYIX_INVALID; in setup_frame_info()
2942 fi->keyix = ATH9K_TXKEYIX_INVALID; in ath9k_tx99_send()
H A Dbeacon.c93 info.keyix = ATH9K_TXKEYIX_INVALID; in ath9k_beacon_setup()
H A Dmac.h712 u8 keyix; member
H A Dath9k.h179 u8 keyix; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
H A Dkey.c339 static int ath_setkey_tkip(struct ath_common *common, u16 keyix, const u8 *key, in ath_setkey_tkip() argument
362 return ath_hw_set_keycache_entry(common, keyix, hk, addr); in ath_setkey_tkip()
368 return ath_hw_set_keycache_entry(common, keyix, hk, addr); in ath_setkey_tkip()
375 if (!ath_hw_set_keycache_entry(common, keyix, hk, NULL)) { in ath_setkey_tkip()
383 return ath_hw_set_keycache_entry(common, keyix + 32, hk, addr); in ath_setkey_tkip()
588 * keyix pointing to this key entry. Instead, only clear the MAC address in ath_key_delete()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/
H A Dkey.c339 static int ath_setkey_tkip(struct ath_common *common, u16 keyix, const u8 *key, in ath_setkey_tkip() argument
362 return ath_hw_set_keycache_entry(common, keyix, hk, addr); in ath_setkey_tkip()
368 return ath_hw_set_keycache_entry(common, keyix, hk, addr); in ath_setkey_tkip()
375 if (!ath_hw_set_keycache_entry(common, keyix, hk, NULL)) { in ath_setkey_tkip()
383 return ath_hw_set_keycache_entry(common, keyix + 32, hk, addr); in ath_setkey_tkip()
588 * keyix pointing to this key entry. Instead, only clear the MAC address in ath_key_delete()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
H A Dbase.c1216 unsigned int keyix, hlen; in ath5k_rx_decrypted() local
1229 keyix = skb->data[hlen + 3] >> 6; in ath5k_rx_decrypted()
1231 if (test_bit(keyix, common->keymap)) in ath5k_rx_decrypted()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/
H A Dbase.c1261 unsigned int keyix, hlen; in ath5k_rx_decrypted() local
1274 keyix = skb->data[hlen + 3] >> 6; in ath5k_rx_decrypted()
1276 if (test_bit(keyix, common->keymap)) in ath5k_rx_decrypted()

Completed in 40 milliseconds