|
@@ -133,6 +133,11 @@ static void iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb,
|
|
|
!is_multicast_ether_addr(ieee80211_get_DA(hdr)))
|
|
|
tx_flags |= TX_CMD_FLG_PROT_REQUIRE;
|
|
|
|
|
|
+ if ((mvm->fw->ucode_capa.capa[0] &
|
|
|
+ IWL_UCODE_TLV_CAPA_TXPOWER_INSERTION_SUPPORT) &&
|
|
|
+ ieee80211_action_contains_tpc(skb))
|
|
|
+ tx_flags |= TX_CMD_FLG_WRITE_TX_POWER;
|
|
|
+
|
|
|
tx_cmd->tx_flags = cpu_to_le32(tx_flags);
|
|
|
/* Total # bytes to be transmitted */
|
|
|
tx_cmd->len = cpu_to_le16((u16)skb->len);
|