Wlan: Revision 3.2.3.227a

Revision 3.2.3.227a
wlan: Reduce Tx aggregation with Cisco AP in HT40 mode

Cisco AP has issues in receiving more than 25 "mpdu in ampdu"
causing very low throughput in HT40 case.
Currently at BA setup negotiation, DUT sends 0 window size in
AddBA request and Cisco responds with 64 which is causing
aggregate huge number of MPDUs.
DUT should send 25 as window size to force Cisco AP to
negotiate with lesser window size.

CRs-Fixed: 598667
Change-Id: Iab9887d55460d717999605fbdc78d48672e7baf9
wlan: register wiphy after VOSS is initialized

When wiphy is registered the regulatory core may send
a hint to the driver advertizing the country of operation.
pMac and all the driver threads should be initialized to handle
this hint, so move the wiphy registration after vos_open()

Change-Id: I560164965ef7d4610a768e2dfa8d6654eea73487
CRs-Fixed: 569424
wlan: flush scan results obtained from the 11d scans

11d scans are done when the driver is loaded to find
any BSS which is advertizing 11d IEs, 11d scans are
passive and we scan all the channels the device
supports irrespective of the regulatory domain
restrictions. Sometimes as part of 11d scans we
find APs on frequencies which are not supported
by the regulatory domain and if we notify such APs
to the supplicant, user may attempt to connect to
such APs. To avoid this situation we will flush all
the scan results cached by the SME after 11d scan.

Change-Id: Iae78d3bec3ddbce4ab0d23a31df0652b2f5013c7
CRs-Fixed: 604464
Wlan: Revision 3.2.3.228

Revision 3.2.3.228
wlan: Debug enhancement

Add WCN host kernel time-stamp to compare to FW timestamp

Change-Id: I660b243a8d2ef6b30246b1baebdde5cddc917abc
CRs-Fixed: 542881
P2P: Handle extension of wait period during p2p send action frames

Wait period has to get extended when an action frame is requested
to send on a channel in which the device already remains.
Currently support to extend the existing remain on channel duration
is not supported by the design and hence the same is achieved by a
sequence of cancellation and request for a remain on channel.
Host driver hides the notification of such sequence to the supplicant.

Change-Id: I4708637acc71c731ae806abc48d2e7071143275b
CRs-fixed: 586076
Wlan: Missing Info and Error Logs for sched scan path in HDD

Adding missing error and info logs for sched scan path in
wlan_hdd_cfg80211.c

Change-Id: I03a3754d26c114d0cd1d5945629cd167eb4be14c
CRs-Fixed: 594112
wlan: HDD layer logging enchancemnt phase-1.

Added logs which should get printed when some unexpected error
happens.In this change, updating wlan_hdd_cfg.c,wlan_hdd_main.c
wlan_hdd_cfg80211.c and wlan_hdd_dev_pwr.c.

Change-Id: Icb8cb6f241b6ab3c86647f6712103fa20a0e735c
CRs-Fixed: 585422
Wlan: Revision 3.2.3.229

Revision 3.2.3.229
wlan: Missing error and info logs in PE disconnect path (Part 1)

Trimmed the logs (exeeding 80 characters) and added info
and error logs for disconnect path limProcessDeauthFrame
and limProcessDisassocFrame
Change-Id: I4b6abad32e419f4a51888a4655b8db2bf7723c65
CRs-Fixed: 576059
wlan: Optimizing logs with PELOG1 in MAC

Updating appropriate log level and reducing wherever applicable
for PELOG1 logs.

CRs-fixed: 608883
Change-Id: I72eee7a2adad960d97c0b7e86520b7c0c4056ff8
wlan: Missing error and info logs in PE connect path (Part 3)

Added Info and error logs for connect path
in limProcessAssocReqFrame

Change-Id: I99c44e14b4567ade5b3cb1f154a2771019734e12
CRs-Fixed: 608929
wlan: Missing error and info logs in PE connect path (Part 2)

Adding missing error and info logs for connect path in
SmeJoinReq, assoc req and assoc rsp

Change-Id: Ib284980c080efa3db122153ae6b553d3355f23b3
CRs-Fixed: 608925
wlan: HDD log level modification.

Added logs which should get printed when some unexpected error
happens. Modification in log level for HDD.

CRs-Fixed: 517829
Change-Id: I5da6044a28b2f225ccdb51da184c8665895d4b67
wlan: Missing error and info logs in PE connect path (Part 1)

Adding missing error and info logs for connect path in
Assoc Utils, Assoc Rsp Frame,
Mlme Req Messages and Mlme Rsp Messages

Change-Id: I1d7c2f6e33a4974d83d105f536e7f4e2c7472e57
CRs-Fixed: 608924
wlan: Right Log Level & Logging content in PE scan path

Added error/INFO logs in probe resp/probe request frames

Change-Id: If10a7f592f12269cd5b463f7e9f900f177b08b82
CRs-Fixed: 586187
wlan: Enhancing vosTraceEnable function.

vosTraceEnable API will now take two argument bitmask_of_moduleId
and enable. If bitmask_of_moduleId is set and enable is true,
MTRACE will be enabled for that corresponding bitmask. if enable
is false, MTRACE will be disabled for that module.
bitmask_of_moduleId=0 corresponds to all the modules.

Change-Id: I4deecc77b5ad6478436142a94c5dfe2df66f5c08
CRs-Fixed:  604466
wlan: Fix arp offload filtering issue with static ip.

When an ap is roved out and roved in, while the DUT in suspended
state, the arp offload filter is not set. The arp filter is
reconfigured, when the ipv4 notifier is invoked and only when flag
sus_res_mcastbcast_filter_valid is set. This flag is set when
power state callback is invoked. There could be scenarios
where ipv4 notifier is invoked and the power state cal back is
invoked later or the ipv4 is invoked and the device is suspended
later leading the arp offload filter unset.

To address these, set sus_res_mcastbcast_filter_valid flag and
restore value of configuredMcastBcastFilter to sus_res_mcastbcast_filter
when ipv4 notifier is invoked.

Change-Id: I70c900dbf95da83ace2a264b034de42e97732b1d
CRs-Fixed: 593533
wlan: Missing error and info logs in PE disconnect path (Part 2)

added info and error logs for disconnect path
in Dissoc req/rsp and Deauth req/rsp

Change-Id: Ib2e1d4e6feca4bb762ca7f72d3abc508cd153153
CRs-Fixed: 608938