Lines Matching refs:mgmt_hdr
194 struct tx_mgmt_hdr mgmt_hdr; in ath9k_htc_tx_start() local
196 memset(&mgmt_hdr, 0, sizeof(struct tx_mgmt_hdr)); in ath9k_htc_tx_start()
200 mgmt_hdr.node_idx = sta_idx; in ath9k_htc_tx_start()
201 mgmt_hdr.vif_idx = vif_idx; in ath9k_htc_tx_start()
202 mgmt_hdr.tidno = 0; in ath9k_htc_tx_start()
203 mgmt_hdr.flags = 0; in ath9k_htc_tx_start()
205 mgmt_hdr.key_type = ath9k_cmn_get_hw_crypto_keytype(skb); in ath9k_htc_tx_start()
206 if (mgmt_hdr.key_type == ATH9K_KEY_TYPE_CLEAR) in ath9k_htc_tx_start()
207 mgmt_hdr.keyix = (u8) ATH9K_TXKEYIX_INVALID; in ath9k_htc_tx_start()
209 mgmt_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_start()
211 tx_fhdr = skb_push(skb, sizeof(mgmt_hdr)); in ath9k_htc_tx_start()
212 memcpy(tx_fhdr, (u8 *) &mgmt_hdr, sizeof(mgmt_hdr)); in ath9k_htc_tx_start()