Home
last modified time | relevance | path

Searched refs:keyix (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/drivers/net/wireless/ath/ath9k/
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()
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()
Dmain.c829 static bool ath9k_txq_list_has_key(struct list_head *txq_list, u32 keyix) in ath9k_txq_list_has_key() argument
841 if (fi->keyix == keyix) in ath9k_txq_list_has_key()
848 static bool ath9k_txq_has_key(struct ath_softc *sc, u32 keyix) in ath9k_txq_has_key() argument
865 key_in_use = ath9k_txq_list_has_key(&txq->axq_q, keyix); in ath9k_txq_has_key()
872 &txq->txq_fifo[idx], keyix); in ath9k_txq_has_key()
882 static void ath9k_pending_key_del(struct ath_softc *sc, u8 keyix) in ath9k_pending_key_del() argument
887 if (!test_bit(keyix, ah->pending_del_keymap) || in ath9k_pending_key_del()
888 ath9k_txq_has_key(sc, keyix)) in ath9k_pending_key_del()
892 clear_bit(keyix, ah->pending_del_keymap); in ath9k_pending_key_del()
893 ath_key_delete(common, keyix); in ath9k_pending_key_del()
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()
Dhtc.h80 u8 keyix; member
91 u8 keyix; member
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()
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()
2874 fi->keyix = ATH9K_TXKEYIX_INVALID; in ath9k_tx99_send()
Dmac.h708 u8 keyix; member
Dbeacon.c93 info.keyix = ATH9K_TXKEYIX_INVALID; in ath9k_beacon_setup()
Dath9k.h178 u8 keyix; member
/Linux-v5.15/drivers/net/wireless/ath/
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()
/Linux-v5.15/drivers/net/wireless/ath/ath5k/
Dbase.c1215 unsigned int keyix, hlen; in ath5k_rx_decrypted() local
1228 keyix = skb->data[hlen + 3] >> 6; in ath5k_rx_decrypted()
1230 if (test_bit(keyix, common->keymap)) in ath5k_rx_decrypted()