[PATCH 2/2] ath10k: set peer MFP flag in peer assoc command

Raja, Tamizh Chelvam c_traja at qti.qualcomm.com
Tue Nov 3 21:20:43 PST 2015

>> From: Tamizh chelvam <c_traja at qti.qualcomm.com>
>> Set peer's management frame protection flag in peer assoc command, 
>> this setting will enable/disable encrytion of management frames in fw.
>> Setting of this flag is based on whether MFP is enabled/disabled at 
>> STA and a firmware feature flag ATH10K_FW_FEATURE_MFP_SUPPORT. This is 
>> because only firmwares 10.1.561 and above have support for MFP.
>> Signed-off-by: Tamizh chelvam <c_traja at qti.qualcomm.com>
>> Signed-off-by: Manikanta pubbisetty <c_mpubbi at qti.qualcomm.com>

>There was a trivial conflict, please check my conflict resolution in the pending branch:


When I try to apply this patch. I got following conflict.

Checking patch drivers/net/wireless/ath/ath10k/core.c...
Checking patch drivers/net/wireless/ath/ath10k/core.h...
Hunk #1 succeeded at 512 (offset -1 lines).
Checking patch drivers/net/wireless/ath/ath10k/htt_tx.c...
Checking patch drivers/net/wireless/ath/ath10k/mac.c...
error: while searching for:
                ath10k_dbg(ar, ATH10K_DBG_WMI, "%s: wpa ie found\n", __func__);
                arg->peer_flags |= ar->wmi.peer_flags->need_gtk_2_way;

static void ath10k_peer_assoc_h_rates(struct ath10k *ar,

error: patch failed: drivers/net/wireless/ath/ath10k/mac.c:2009
Hunk #3 succeeded at 2480 (offset -6 lines).
Applied patch drivers/net/wireless/ath/ath10k/core.c cleanly.
Applied patch drivers/net/wireless/ath/ath10k/core.h cleanly.
Applied patch drivers/net/wireless/ath/ath10k/htt_tx.c cleanly.
Applying patch drivers/net/wireless/ath/ath10k/mac.c with 1 rejects...
Hunk #1 applied cleanly.
Rejected hunk #2.
Hunk #3 applied cleanly.

More information about the ath10k mailing list