Home
last modified time | relevance | path

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

/openbmc/linux/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.c830 static bool ath9k_txq_list_has_key(struct list_head *txq_list, u32 keyix) in ath9k_txq_list_has_key() argument
842 if (fi->keyix == keyix) in ath9k_txq_list_has_key()
849 static bool ath9k_txq_has_key(struct ath_softc *sc, u32 keyix) in ath9k_txq_has_key() argument
866 key_in_use = ath9k_txq_list_has_key(&txq->axq_q, keyix); in ath9k_txq_has_key()
874 &txq->txq_fifo[idx], keyix); in ath9k_txq_has_key()
884 static void ath9k_pending_key_del(struct ath_softc *sc, u8 keyix) in ath9k_pending_key_del() argument
889 if (!test_bit(keyix, ah->pending_del_keymap) || in ath9k_pending_key_del()
890 ath9k_txq_has_key(sc, keyix)) in ath9k_pending_key_del()
894 clear_bit(keyix, ah->pending_del_keymap); in ath9k_pending_key_del()
895 ath_key_delete(common, keyix); in ath9k_pending_key_del()
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_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()
H A Dhtc.h80 u8 keyix; member
91 u8 keyix; member
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 Dmac.h712 u8 keyix; member
H A Dbeacon.c93 info.keyix = ATH9K_TXKEYIX_INVALID; in ath9k_beacon_setup()
H A Dath9k.h179 u8 keyix; member
/openbmc/linux/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()
/openbmc/linux/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()