wlan: Fix so that certain management frames are not encrypted

There is an error in the implementation Protected Management
Frames (PMF, 802.11w).  Some action frames are not designated
as Robust Management Frames but they are being encrypted as
if they are.  The fix is to tell hardware not to encrypt
management frames on a PMF connection unless the Protect
bit in the Frame Control field is turned on.

Change-Id: I5a9e14bf4753677b0e769003cb1bc150b8781611
CRs-Fixed: 488042
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi_dp.c b/CORE/WDI/CP/src/wlan_qct_wdi_dp.c
index 04b9db0..a7e8ef5 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi_dp.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi_dp.c
@@ -376,6 +376,9 @@
 
     ucTxFlag:    different option setting for TX.
 
+    ucProtMgmtFrame: for management frames, whether the frame is
+                     protected (protect bit is set in FC)
+
     uTimeStamp:      Timestamp when the frame was received from HDD. (usec)
    
    @return
@@ -394,6 +397,7 @@
     wpt_uint8              ucDisableFrmXtl, 
     void*                  pTxBd, 
     wpt_uint8              ucTxFlag, 
+    wpt_uint8              ucProtMgmtFrame,
     wpt_uint32             uTimeStamp,
     wpt_uint8*             staIndex
 )
@@ -840,6 +844,7 @@
 
             if(ucIsRMF && pSta->rmfEnabled)
             {
+                pBd->dpuNE = !ucProtMgmtFrame;
                 pBd->rmf = 1;
                 if(!ucUnicastDst)
                     pBd->dpuDescIdx = pSta->bcastMgmtDpuIndex; /* IGTK */