Commit Graph

2473 Commits

Author SHA1 Message Date
Jeff Johnson
82b0c626dd qcacld-3.0: Fix -Wmissing-prototypes in lim_api
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_api.

Change-Id: Ie3defa164278d775759686a7f9508d42799a48e4
CRs-Fixed: 1075090
2016-10-17 21:57:41 -07:00
Jeff Johnson
f731b30df8 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_ioctl
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_ioctl.

Change-Id: I24089ef930e15af0180eefbf98ab86372684b79f
CRs-Fixed: 1074336
2016-10-17 21:57:38 -07:00
qcabuildsw
a1dc0136c7 Release 5.1.0.31A
Release 5.1.0.31A

Change-Id: I60c9368131698f34ca503ebe25182a498dd682d2
CRs-Fixed: 688141
2016-10-17 21:57:37 -07:00
Rajeev Kumar
f7d000060f qcacld-3.0: Clean up obsolete cds_shutdown API
qcacld-3.0 recovery does not use cds_shutdown routine hence
clean up this obsolete API.

Change-Id: I4779c1336062a2cc6357b2a4cf82248d4c457aa8
CRs-Fixed: 1077094
2016-10-17 21:57:35 -07:00
qcabuildsw
d257ccc686 Release 5.1.0.31
Release 5.1.0.31

Change-Id: Ia3aa3011e0824af2b05c7a939bf2f36b77f6b94d
CRs-Fixed: 688141
2016-10-17 21:57:34 -07:00
Mukul Sharma
e8c919fcc5 qcacld-3.0: Enhance EPNO feature
qcacld-2.0 to qcacld-3.0 propagation

Make the following enhancements to the EPNO feature:
1) Implement the reset EPNO command handler
2) Add new parameters for candidate score calculation.

Change-Id: Iad1ff9c2b003c9e3ddbc3373366686040ccb55ca
CRs-Fixed: 956649
2016-10-17 21:57:33 -07:00
qcabuildsw
fbd2c99c36 Release 5.1.0.30Z
Release 5.1.0.30Z

Change-Id: I1beee86dbcff1255ebfb9599e7def6fadc632211
CRs-Fixed: 688141
2016-10-17 21:57:31 -07:00
Dustin Brown
fc37c6a1c7 qcacld-3.0: Dump packet contents for RA_MATCH and Magic Packet
Add RA Match and Magic Packet to the list of wakeup reasons that cause
packet contents to be dumped to the log durring wow wakeup.

Change-Id: Id7d5474b0d288ebaae3666e8da0dacc6eda4dc69
CRs-Fixed: 1076574
2016-10-17 21:57:30 -07:00
qcabuildsw
d6d19a4261 Release 5.1.0.30Y
Release 5.1.0.30Y

Change-Id: I9d80e4e7b7f90889560fa2bc8f11ad619fb06e3c
CRs-Fixed: 688141
2016-10-17 21:57:28 -07:00
Rajeev Kumar Sirasanagandla
043f4834a7 qcacld-3.0: Don't Invoke cfg80211_scan_done during unload/SSR
qcacld-2.0 to qcacld-3.0 propagation

While netdev interface is closing the __cfg80211_scan_done() shall already
be invoked, so in hdd_cfg80211_scan_done_callback() check for the
interface flag before invoking the cfg80211_scan_done().

Change-Id: If88447acd4d13a4ba0ef84378f21e75669af6c71
CRs-Fixed: 908656
2016-10-17 21:57:27 -07:00
qcabuildsw
864ccdaaf7 Release 5.1.0.30X
Release 5.1.0.30X

Change-Id: Ifc0020054f72ac19d4c8724e69cce640dcbf9cd6
CRs-Fixed: 688141
2016-10-17 21:57:25 -07:00
Krunal Soni
15f0db18db qcacld-3.0: Populate correct PCL & ch numbers to avoid in case of SAP
Incorrect PCL is given by policy manager because of incorrect merging of
valid channel list & weight list which results in to unsafe channel selection.

Driver notifies the list of channels to avoid in terms of frequencies rather
than channel numbers which is not correct.

Change-Id: Ic71766e8c917931d4f051b512fb8000cc34a04ad
CRs-Fixed: 1077025
2016-10-17 21:57:24 -07:00
qcabuildsw
0519291e8f Release 5.1.0.30W
Release 5.1.0.30W

Change-Id: I069f7c5124792f408bda9c20f3f01c3e9aaf36af
CRs-Fixed: 688141
2016-10-17 21:57:22 -07:00
Jeff Johnson
583f101315 qcacld-3.0: Fix -Wmissing-prototypes in wlan_qct_sys
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_qct_sys.

Change-Id: I7e843d4404dbd2de9a6d6270c931432b3acf1812
CRs-Fixed: 1075090
2016-10-17 21:57:20 -07:00
Jeff Johnson
c1972f6eaf qcacld-3.0: Fix -Wmissing-prototypes in sch_message
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sch_message.

Change-Id: I6c87ead4fd3fad0590a7a620d9af257621a48cd7
CRs-Fixed: 1075090
2016-10-17 21:57:18 -07:00
Jeff Johnson
5bd0c4991d qcacld-3.0: Fix -Wmissing-prototypes in sch_beacon_process
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sch_beacon_process.

Change-Id: I9227f77bb7710a32d24072bb4961cd8db77acb8a
CRs-Fixed: 1075090
2016-10-17 21:57:16 -07:00
Jeff Johnson
aeebe65c3d qcacld-3.0: Fix -Wmissing-prototypes in sch_beacon_gen
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sch_beacon_gen.

Change-Id: Ife6bd447ef9e352d76fe06ba7679aa95d1d74556
CRs-Fixed: 1075090
2016-10-17 21:57:14 -07:00
Jeff Johnson
1628188271 qcacld-3.0: Fix -Wmissing-prototypes in rrm_api
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in rrm_api.

Change-Id: I401b58aba9b65e031c8b86d885777299b28ea238
CRs-Fixed: 1075090
2016-10-17 21:57:12 -07:00
qcabuildsw
e50b2d2ded Release 5.1.0.30V
Release 5.1.0.30V

Change-Id: I7440b59bd1e027f4069b4cb5c3b89e9f0db2e2bf
CRs-Fixed: 688141
2016-10-17 21:57:09 -07:00
Jeff Johnson
f3a64e6081 qcacld-3.0: Fix bad SSR protection in wakelock stats handler
It was observed that it was taking an excessive time for Wi-Fi to
unload from the UI.  Logs showed that unload was waiting for an
external thread to exit, giving the entry point as
wlan_hdd_cfg80211_get_wakelock_stats(). Analysis of that function
showed it is incorrectly using the SSR protection functions.  Update
that function to correctly "unprotect" on exit.

Change-Id: Ic7476be656a7b0c8d09748c1e546fd1a33ce33c5
CRs-Fixed: 1077214
2016-10-17 21:57:08 -07:00
qcabuildsw
b384d669ff Release 5.1.0.30U
Release 5.1.0.30U

Change-Id: Icbe0dedbd686adba1513d97c2609b0c8b52eec2c
CRs-Fixed: 688141
2016-10-17 21:57:06 -07:00
Selvaraj, Sridhar
ac4fcf34be qcacld-3.0: Add provision to configure Association disallowed functionality
As part of MBO[MultiBand Operations], association disallowed functionality
is added.i.e. if driver receives probe response/beacon with MBO IE
with association disallowed subattribute present, STA stops connection
attempt with the particular BSS.

This code change addresses the following:
1) Adds provision to ignore/disable association disallowed functionality in
host driver. Apply this change to enable STA to act as testbed for AP
association disallowed test case.

2) Limit the assoc disallowed functionality in host driver only for connect
cases, i.e. limit this only when driver tries to join BSS
[MLM_WT_JOIN_BEACON_STATE] since similar functionality is in supplicant to
take care of scan results case and checks for the assoc disallowed
subattribute presence in probe responses.

Change-Id: I66c6f7f31ebdaad32d01ab8882935861ddb54f51
CRs-Fixed: 1067826
2016-10-17 21:57:05 -07:00
qcabuildsw
999799766d Release 5.1.0.30T
Release 5.1.0.30T

Change-Id: Icf339515919926c70f0b7d03cde8472cea0ecde4
CRs-Fixed: 688141
2016-10-17 21:57:03 -07:00
Padma, Santhosh Kumar
1472fab275 qcacld-3.0: Fix warning during driver unload
During hdd_encrypt_decrypt_deinit, driver tries to acquire sme
global lock. But hdd_encrypt_decrypt_deinit is invoked after sme
close, where driver destroys sme global lock. This results
in failure to acquire sme global lock. Fix this by invoking
hdd_encrypt_decrypt_deinit before sme close. Also, move
hdd_encrypt_decrypt_init to hdd_features_init.

Change-Id: I2c9ab551ea53053db75dc197d6772d53e58f2dfc
CRs-Fixed: 1075442
2016-10-17 21:57:01 -07:00
Srinivas Girigowda
dbfb264005 qcacld-3.0: extscan: Logs cleanup
This is a qcacld-2.0 to qcacld-3.0 propagation.

Remove unnecessary logs and merge some of the logs together.

Change-Id: Ibf9fdf0a92cc71644f02d6890574eeed0d175d6f
CRs-Fixed: 1023849
2016-10-17 21:53:09 -07:00
Srinivas Girigowda
1efc80ea46 qcacld-3.0: Add input validation for SENDACTIONFRAME
This is a qcacld-2.0 to qcacld-3.0 propagation.

Add input validation for SENDACTIONFRAME driver command.

Change-Id: I3d1bf424e5e0f9a3b6f4662dd12a3a7314c7eace
CRs-Fixed: 1001449
2016-10-17 21:53:07 -07:00
Srinivas Girigowda
0fb6cc4dde qcacld-3.0: Fix buffer overwrite problem in CCXPLMREQ
This is a qcacld-2.0 to qcacld-3.0 propagation.

Set the number of channels to minimum of input data and
WNI_CFG_VALID_CHANNEL_LIST_LEN.

Change-Id: Ib6fca483ac99cddfcd3b739ce62e86ecd498f1f5
CRs-Fixed: 1001450
2016-10-17 21:53:06 -07:00
Srinivas Girigowda
0ee96441f4 qcacld-3.0: Reduce log levels and cleanup
This is a qcacld-2.0 to qcacld-3.0 propagation.

Reduce log levels and cleanup.

Change-Id: I05f88b7a49c4fc9c531dfe1574f38da2b416c827
CRs-Fixed: 1047807
2016-10-17 21:53:04 -07:00
Service qcabuildsw
02cbf171f6 Merge "qcacld-3.0: Handle disassociate reason code 34 and cleanup logs" into wlan-cld3.driver.lnx.1.1-dev 2016-10-17 20:45:39 -07:00
Service qcabuildsw
6029da2106 Merge "qcacld-3.0: Validate session Id in sme_QosInternalReleaseReq" into wlan-cld3.driver.lnx.1.1-dev 2016-10-17 20:45:39 -07:00
Srinivas Girigowda
fae5010b10 qcacld-3.0: Handle disassociate reason code 34 and cleanup logs
This is a qcacld-2.0 to qcacld-3.0 propagation.

Currently code honors disconnect reason code 34 but still log shows up
as invalid reason code. 34 is a valid 802.11 reason code.

Add eSIR_MAC_XS_UNACKED_FRAMES_REASON and clean up logs.

Change-Id: I32fb804792dd67dd31824a5387e4ecb419656420
CRs-Fixed: 1015244
2016-10-12 20:31:58 -07:00
Srinivas Girigowda
59ff755f86 qcacld-3.0: Validate session Id in sme_QosInternalReleaseReq
This is a qcacld-2.0 to qcacld-3.0 propagation.

Validate session Id in sme_QosInternalReleaseReq.

Change-Id: Id3ad752fe3e4c6f6fec18febb1c839003bef3df0
CRs-Fixed: 1013359
2016-10-12 20:31:49 -07:00
qcabuildsw
16602d36f1 Release 5.1.0.30S
Release 5.1.0.30S

Change-Id: I1c7ea531cd3a7dc22fb99ce7a2537eed5a38631d
CRs-Fixed: 688141
2016-10-12 19:59:01 -07:00
Naveen Rawat
286def5833 qcacld-3.0: Fix NDI teardown issue on "ifconfig down" request
This is qcacld-2.0 to qcacld-3.0 propagation.

NAN data session is expected to be available across ifconfig up
and ifconfig down requests from user space. The userspace will
issue ifconfig down when it is done using the interface and will
bring up the interface again if required. NAN data interface
termination is expected to be done only on NDI delete request from
the userspace.

Change-Id: Ib9d7c1719077687bdd7e550404e874406ec50758
CRs-Fixed: 962367
2016-10-12 19:59:00 -07:00
qcabuildsw
41f0429860 Release 5.1.0.30R
Release 5.1.0.30R

Change-Id: Ibdd57ff3fecd9ee040c7f5ca73f70afc4e31b0c1
CRs-Fixed: 688141
2016-10-12 17:45:02 -07:00
Prashanth Bhatta
ab00438c68 qcacld-3.0: Stop bus BW timer during recovery
During recovery, bus bandwidth (BW) compute timer may fire and
cause stability issues. Destroy the bus bandwidth timer during
shutdown and initialize during re-init.

Change-Id: I20d52f028e61e81bdda5004e30f1c143ef4d5f23
CRs-fixed: 1075655
2016-10-12 17:45:01 -07:00
Prashanth Bhatta
2ac92bda55 qcacld-3.0: Stop MC thread during recovery
As part of Dynamic Mode change, optimization is added to not to
stop the MC thread but just to flush the message queues but that
doesn't help in case of recovery where in MC thread is the one
which needs to be stopped first so that lower layers doesn't try
to post any messages and try to process them while firmware
doesn't exist. Processing such messages may cause stability
issues.
Stop the MC thread as part of recovery and bring-up thread again
during re-init.

Change-Id: Ie1cfbfa74f6b3e849361f2213a9d29f277aa09cc
CRs-fixed: 1075224
2016-10-12 17:44:59 -07:00
qcabuildsw
844498997f Release 5.1.0.30Q
Release 5.1.0.30Q

Change-Id: I7c7d2683e51eed645fd66681c25e3d68be1b769e
CRs-Fixed: 688141
2016-10-12 11:52:02 -07:00
Jeff Johnson
7240dd9e5e qcacld-3.0: Fix -Wmissing-prototypes in csr_tdls_process
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in csr_tdls_process.

Change-Id: I9b573e4bb3ee26678b77faae537a4968a7921db2
CRs-Fixed: 1075575
2016-10-12 11:52:01 -07:00
Jeff Johnson
c91a4fc47e qcacld-3.0: Fix -Wmissing-prototypes in csr_link_list
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in csr_link_list.

Change-Id: Iac3b07372d0bb3d949eb7f6dc3dd6b9c084619d2
CRs-Fixed: 1075575
2016-10-12 11:52:00 -07:00
Jeff Johnson
2249644ff1 qcacld-3.0: Fix -Wmissing-prototypes in lim_utils
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_utils.

Change-Id: I401597018b30acb6bb8675c7a2d03e2157b1318a
CRs-Fixed: 1075090
2016-10-12 11:51:58 -07:00
Jeff Johnson
5fc5176372 qcacld-3.0: Fix -Wmissing-prototypes in lim_sme_req_utils
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_sme_req_utils.

Change-Id: I7b0404a3ca41aa038b9e7db313eb1aadb6b92517
CRs-Fixed: 1075090
2016-10-12 11:51:56 -07:00
Jeff Johnson
9769900bfe qcacld-3.0: Fix -Wmissing-prototypes in lim_session
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_session.

Change-Id: Ied228b11bd6484ee96fa2db827cb675669e78487
CRs-Fixed: 1075090
2016-10-12 11:51:55 -07:00
Jeff Johnson
6db011e5c4 qcacld-3.0: Fix -Wmissing-prototypes in lim_send_sme_rsp_messages
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_send_sme_rsp_messages.

Change-Id: I5f97e655d54f06f752d8e83298250ce80e5369e0
CRs-Fixed: 1075090
2016-10-12 11:51:50 -07:00
Jeff Johnson
38112a38e2 qcacld-3.0: Fix -Wmissing-prototypes in lim_send_management_frames
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_send_management_frames.

Change-Id: I7d615fb0837ad427a14764ef8aecbe5c0f64d952
CRs-Fixed: 1075090
2016-10-12 11:51:48 -07:00
Jeff Johnson
1e259fa46b qcacld-3.0: Fix -Wmissing-prototypes in lim_process_probe_rsp_frame
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_probe_rsp_frame.

Change-Id: I0916219f8560c6e78d475cf94e6f048557d54384
CRs-Fixed: 1075090
2016-10-12 11:51:47 -07:00
Jeff Johnson
662ba06e20 qcacld-3.0: Fix -Wmissing-prototypes in lim_process_probe_req_frame
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_probe_req_frame.

Change-Id: I8d253570f1ab52b52964a6ff67477f7150d39e5d
CRs-Fixed: 1075090
2016-10-12 11:51:45 -07:00
Jeff Johnson
a0495a6085 qcacld-3.0: Fix -Wmissing-prototypes in lim_process_mlm_rsp_messages
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_mlm_rsp_messages.

Change-Id: Ib4f962d436e427d39303511c60799e9efcb25779
CRs-Fixed: 1075090
2016-10-12 11:51:43 -07:00
Jeff Johnson
3a4d31e84a qcacld-3.0: Fix -Wmissing-prototypes in lim_process_mlm_req_messages
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_mlm_req_messages.

Change-Id: I82d77da22143e4d6e421392457be51c3e11b62f0
CRs-Fixed: 1075090
2016-10-12 11:51:42 -07:00
Jeff Johnson
4f9d4a2aa8 qcacld-3.0: Fix -Wmissing-prototypes in lim_ft*
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_ft & lim_ft_preauth.

Change-Id: I566992b77e47309f8a98fa5be8b46014140820a1
CRs-Fixed: 1075090
2016-10-12 11:51:40 -07:00
qcabuildsw
327d4b3fc8 Release 5.1.0.30P
Release 5.1.0.30P

Change-Id: I6ac966108bfd0d8ba9d1c19d37dbfdab113f6a81
CRs-Fixed: 688141
2016-10-12 11:03:48 -07:00
Kiran Kumar Lokere
1aa9c9ac12 qcacld-3.0: Add support to configure the 80MHz preference
Add support to configure the 80MHz preference over 160MHz
connection when the peer AP is capable of 160MHz 2x2 mode.

Change-Id: I67d62a358141c470176667429f982053d162c4f8
CRs-Fixed: 1075815
2016-10-12 11:03:47 -07:00
qcabuildsw
9d8c2f003c Release 5.1.0.30O
Release 5.1.0.30O

Change-Id: Ie55bb1f87e160cc458b6052bcf2b4acf5f534600
CRs-Fixed: 688141
2016-10-12 09:24:19 -07:00
Rajeev Kumar Sirasanagandla
0be56dfdbc qcacld-3.0: Add ini to configure RTS profiles to FW
qcacld-2.0 to qcacld-3.0 propagation

INI parameter to configure different RTS profiles
to firmware during wlan startup.

Based on this value the FW shall configure any of the
following parameters:

- RTSCTS_DISABLED
- RTSCTS_ENABLED_4_SECOND_RATESERIES
- CTS2SELF_ENABLED_4_SECOND_RATESERIES
- RTSCTS_ENABLED_4_SWRETRIES
- CTS2SELF_ENABLED_4_SWRETRIES

Change-Id: Id2a9d64e626288920e0d0a73badca9f9e241decb
CRs-Fixed: 940886
2016-10-12 09:24:18 -07:00
qcabuildsw
29ac683dd2 Release 5.1.0.30N
Release 5.1.0.30N

Change-Id: I9de09b7de2a7f9751428a08d3a3fea5cd1201abf
CRs-Fixed: 688141
2016-10-12 01:25:13 -07:00
Srinivas Girigowda
ca42292f2b qcacld-3.0: Update get_concurrency_matrix to advertise STA + NAN
This is a qcacld-2.0 to qcacld-3.0 propagation.

Update the get_concurrency_matrix API to advertise the support
for STA + NAN concurrency.

Change-Id: Ie178cdb8c01294ef103baebfd7805d80e4c3c3be
CRs-Fixed: 987047
2016-10-12 01:25:12 -07:00
Srinivas Girigowda
67e2da67cb qcacld-3.0: Validate CCXBEACONREQ IE fields
This is a qcacld-2.0 to qcacld-3.0 propagation.

Validate CCXBEACONREQ IE fields.

Change-Id: Ie64a642abdd7923e91801186aa5743094a739fc9
CRs-Fixed: 1025185
2016-10-12 01:25:10 -07:00
Srinivas Girigowda
d79b345496 qcacld-3.0: Add back these ese functions
Due to incorrect merge resolve, these functions got removed.
Add the functions back.

Change-Id: I5bdaab2e93d221ca15179d8b35e9a86619e9b489
CRs-Fixed: 950762
2016-10-12 01:25:08 -07:00
Srinivas Girigowda
476deeb893 qcacld-3.0: Fix buffer overwrite problem in CCXBEACONREQ
This is a propagation from qcacld-2.0 to qcacld-3.0.

Set the number of IE fields to minimum of input data and
SIR_ESE_MAX_MEAS_IE_REQS

Change-Id: Ie53cfec7872ab69530bbb8932f9f9e85fb319f92
CRs-Fixed: 993561
2016-10-12 01:25:06 -07:00
qcabuildsw
0b18c45266 Release 5.1.0.30M
Release 5.1.0.30M

Change-Id: I82211cf75cc0b990207306bffbeb5d2836308d8c
CRs-Fixed: 688141
2016-10-12 00:45:07 -07:00
Hanumanth Reddy Pothula
3370212bf7 qcacld-3.0: Invalidate session ID after successful session close
Presently, host sets session ID to invalid(0xFF) once it posts the
message for sme to close session. During the close session if there
are any north bound command pending in queue, Host is sending the
command with invalid session ID to firmware, leading to device crash.

Set session ID to invalid only once sme session is closed.

Change-Id: Ib8a6a8e8a8af842064f6500b4bb62266eae7c1f8
CRs-Fixed: 1074111
2016-10-12 00:45:06 -07:00
qcabuildsw
901d75a1a1 Release 5.1.0.30L
Release 5.1.0.30L

Change-Id: I3f16e78cf03ed587ec6c7482c76164f61431640b
CRs-Fixed: 688141
2016-10-11 23:47:21 -07:00
Jeff Johnson
d3d4b6af4c qcacld-3.0: Fix -Wmissing-prototypes in lim_process_assoc_rsp_frame
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_assoc_rsp_frame.

Change-Id: I232343baf74227d525f1004ab2d57fd3d68702d4
CRs-Fixed: 1075090
2016-10-11 23:47:20 -07:00
Jeff Johnson
5948a1869e qcacld-3.0: Fix -Wmissing-prototypes in lim_ibss_peer_mgmt
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_ibss_peer_mgmt.

Change-Id: I399108d2e880631f60afec51d2c6472d623f907d
CRs-Fixed: 1075090
2016-10-11 23:47:18 -07:00
Jeff Johnson
72c8e7c7e4 qcacld-3.0: Fix -Wmissing-prototypes in lim_assoc_utils
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_assoc_utils.

Change-Id: I28ac7560d042f4d81560d3bbeea8ac18beb5e453
CRs-Fixed: 1075090
2016-10-11 23:47:15 -07:00
Jeff Johnson
b9f21bca25 qcacld-3.0: Fix -Wmissing-prototypes in lim_admit_control
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_admit_control.

Change-Id: Ic2ff63f07d59d7242f0c37917201f239b00dfe37
CRs-Fixed: 1075090
2016-10-11 23:47:13 -07:00
Jeff Johnson
9902821db3 qcacld-3.0: Fix -Wmissing-prototypes in dph_hash_table
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in dph_hash_table.

Change-Id: I9513060929343a61c329e55e15f7e6ec18d1e166
CRs-Fixed: 1075090
2016-10-11 23:47:11 -07:00
Jeff Johnson
7e5ac8eb10 qcacld-3.0: Fix -Wmissing-prototypes in cfg_api
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in cfg_api.

Change-Id: I6c282c78da047a9979b90c52fdcfd7b1b7b3b46e
CRs-Fixed: 1075090
2016-10-11 23:47:09 -07:00
Jeff Johnson
414e9f39a1 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_tdls
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_tdls.

Change-Id: I27b2be04166a61579d0013766094c660cff304e2
CRs-Fixed: 1074336
2016-10-11 23:47:07 -07:00
qcabuildsw
a2c7320863 Release 5.1.0.30K
Release 5.1.0.30K

Change-Id: I6de44b9fb375325101161ec8a9587591047c5d1a
CRs-Fixed: 688141
2016-10-11 17:12:50 -07:00
Jeff Johnson
fdb73435f6 qcacld-3.0: Fix potential reference of uninitialized roam profile
Currently in hdd_send_re_assoc_event() there are several guard tests
which protect the function from executing unless all of the
prerequisite information is present. If any of the tests fail then the
code performs centralized cleanup. One of the cleanups performed is to
free the roam profile.  Unfortunately at the time most of the guard
tests are performed the roam profile has not been retrieved from SME,
and has not been initialized in any other way.  This would ultimately
result in csr_roam_free_connect_profile() reading "garbage" values for
pBssDesc and pAddIEAssoc.  Address this issue by relocating the
existing qdf_mem_zero() of the roam profile so that the roam profile
is initialized before any of the guard tests are performed.

Change-Id: I2a2ba92ffb5b73c3ba4f54482d8f2b37f6e2dad6
CRs-Fixed: 1076422
2016-10-11 17:12:49 -07:00
qcabuildsw
d9d97ee5e5 Release 5.1.0.30J
Release 5.1.0.30J

Change-Id: Ife2c057c1421e36ca09ae2cb14912e25a1cadf2d
CRs-Fixed: 688141
2016-10-11 14:56:31 -07:00
Dustin Brown
5e06bd358d qcacld-3.0: Null-check 5GHz band before configuration
There is a null pointer dereference during 5GHz band configure when wifi
mode is forced to 802.11b in the ini config file. Perform a null check
before 5GHz configuration and skip if needed.

Change-Id: I70b7576e7bf49fa66a8c88de49dad9a1643cc7cb
CRs-Fixed: 1074146
2016-10-11 14:56:30 -07:00
qcabuildsw
b4cbcd5423 Release 5.1.0.30I
Release 5.1.0.30I

Change-Id: I6136df1242c6f94a3a95129cd58d118a25bf9c15
CRs-Fixed: 688141
2016-10-11 10:43:41 -07:00
Dustin Brown
10a7b71ecc qcacld-3.0: Cleanup qpower vendor command
The original qpower vendor command implementation incorrectly configured
the qpower setting in firmware. Cleanup the implementation.

Change-Id: Id84eb7cf579a29da30f3366edef24821fcd5be55
CRs-Fixed: 1075582
2016-10-11 10:43:39 -07:00
qcabuildsw
b7102417bf Release 5.1.0.30H
Release 5.1.0.30H

Change-Id: I4f0f44bc22903fb4403c4794bd1b73109d9f6493
CRs-Fixed: 688141
2016-10-11 10:06:14 -07:00
Jeff Johnson
0d3a9d2a18 qcacld-3.0: Remove unused functions from cds_regdomain.c
Functions get_reg_dmn_for_country & cds_get_reg_dmn_5g are no longer
being used, so remove them.

Change-Id: I03308f6fd7802acf7e80c01f15f42c99bb77ce7e
CRs-Fixed: 1075544
2016-10-11 06:24:37 -07:00
Jeff Johnson
a7d169b1dc qcacld-3.0: Fix -Wmissing-prototypes in CDS
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in CDS.

Change-Id: I40141f7a9e7394e0071b84b32a2d2b95cfa3a09b
CRs-Fixed: 1075544
2016-10-11 06:24:37 -07:00
Jeff Johnson
6c3c2b56aa qcacld-3.0: Fix -Wmissing-prototypes in BMI
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in BMI.

Change-Id: I701a9620ad93b41b5bcfd79d0c048f62e8151a18
CRs-Fixed: 1075533
2016-10-11 06:24:37 -07:00
Jeff Johnson
af2a093bf5 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_wext
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_wext.

Change-Id: I35f793352b7a166018945f9a9ac8457bf58ee809
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
3ae708d442 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_tx_rx
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_tx_rx.

Change-Id: Ic1eaf337ff339e979c3f78e667be9539eb47f5dc
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
dde3449880 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_tsf
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_tsf.

Change-Id: I37e98814da218d9322a8d3ac05a0e19523859281
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
6376abe7a4 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_softap_tx_rx
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_softap_tx_rx.

Change-Id: I26dd53307454d2c4dd887345eb77a9d362b5fdf2
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
0eed72f1ef qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_scan
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_scan.

Change-Id: I877d7e7b7be30a9195daad63d09999bb87f4add4
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
87a24256c1 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_regulatory
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_regulatory.

Change-Id: Ie9252966d9b4bbb49d934516bae16ecc6a03f0f4
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
c8d0c25730 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_power
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_power.

Change-Id: I8ebc518eed2c56764eb18ef6881e1fb344b2f0d4
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
d229104761 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_p2p
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_p2p.

Change-Id: Ifea057311a2fc0ec45d2137c2264311f8c9b2a3b
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
590e201405 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_main
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_main.

Change-Id: Ib96b87acf019bc602adddb36f54792b872e2ad6e
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
64d8618a53 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_lro
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_lro.

Change-Id: I5f640761078b877732d00b7eddabbd21996bbc71
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
d772063714 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_ipa
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_ipa.

Change-Id: Ie789cc0c00ab6553ad4ca1a12968d50078afe763
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
e4090f7d87 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_hostapd
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_hostapd.

Change-Id: I3b15af337185c28b2066e9d28e9e174cfc5ab76a
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
cd2a079b97 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_ext_scan
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_ext_scan.

Change-Id: I29c7ba3ef4e9eaa8a28268161a10f3b25249601d
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
7782cb90b8 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_driver_ops
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_driver_ops.

Change-Id: I6a941cd82af543d433427b5ce3aad80f7e1c8e57
CRs-Fixed: 1074336
2016-10-11 06:24:36 -07:00
Jeff Johnson
510779e8bf qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_debugfs
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_debugfs.

Change-Id: I6ebadd731e4d92a63025567ef75bc939faa0e546
CRs-Fixed: 1074336
2016-10-11 06:24:36 -07:00
Jeff Johnson
8b8a04bd1c qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_cfg80211
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_cfg80211.

Change-Id: I749b17dfc313fa72da49116a5452a5c63102f718
CRs-Fixed: 1074336
2016-10-11 06:24:36 -07:00
Jeff Johnson
f1bf3a6da0 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_cfg
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_cfg.

Change-Id: Ie23da29a1515249c04185ad4e146d8c9f4256c0f
CRs-Fixed: 1074336
2016-10-11 06:24:36 -07:00
Jeff Johnson
018d7d3f31 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_assoc
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_assoc.

Change-Id: I89f3273ff3d2bf3f68d1e8c39dd967e07637b265
CRs-Fixed: 1074336
2016-10-11 06:24:36 -07:00
qcabuildsw
8cf22ab5af Release 5.1.0.30G
Release 5.1.0.30G

Change-Id: I566ee17f2d1f05bebb3ddb47c8e30c1a8a8aad6a
CRs-Fixed: 688141
2016-10-10 22:12:22 -07:00
Naveen Rawat
ac39a10fae qcacld-3.0: Panic when wait for WMI_SERVICE_READY_EXT_EVENT times out
Change ASSERT to BUG_ON when wait for WMI_SERVICE_READY_EXT_EVENT times
out in insmod thread.

Change-Id: Ie666fd0881969a503e6b3635cdc5bb7f223776ec
CRs-Fixed: 1075166
2016-10-10 22:12:20 -07:00
qcabuildsw
02e3608a68 Release 5.1.0.30F
Release 5.1.0.30F

Change-Id: I973a03e4d88ed9841e81f0609f840f5a6d59d105
CRs-Fixed: 688141
2016-10-10 17:16:23 -07:00
Dustin Brown
43e872901a qcacld-3.0: Parse timer params in setpno iwpriv command
Currently, the setpno iwpriv command ignores timer related parameters.
Expand the setpno iwpriv command logic to parse timer related
parameters.

Change-Id: Ib318d3821e7da0fb7b2887d935ec5f5c706e6263
CRs-Fixed: 1076096
2016-10-10 17:16:22 -07:00
qcabuildsw
14ee4a788a Release 5.1.0.30E
Release 5.1.0.30E

Change-Id: I67fb71a0708ceb0de1bdde815a3d364971d7537b
CRs-Fixed: 688141
2016-10-10 13:01:05 -07:00
Dustin Brown
87c4428fd1 qcacld-3.0: Change RA Filtering to Enabled by Default
As a fallback mechanism in case APF is disabled for any reason, ensure
RA Filtering is enabled by default.

Change-Id: Ib9163ca5dd89a7594c2e02b5f8c099ddbb5b3fc6
CRs-Fixed: 1075102
2016-10-10 13:01:04 -07:00
Dustin Brown
105d790504 qcacld-3.0: Log suspend failure reasons
Increment counters for the various reasons a suspend might fail, and
log them via print messages at time of failure.

Change-Id: Ie1fb700577aee5f1b3a0d29277b81299a13dbde3
CRs-Fixed: 1073824
2016-10-10 13:01:03 -07:00
Dustin Brown
d53d1a85c6 qcacld-3.0: Cleanup code related to unit-test framework
A previous unit-test framework change contained some outstanding clean
code issues. Address the issues to ensure cleaner code is maintained.

Change-Id: I889d4e12a7c00b5fc6cb409bc077466019442456
CRs-Fixed: 1073756
2016-10-10 13:00:59 -07:00
qcabuildsw
0a83fb550f Release 5.1.0.30D
Release 5.1.0.30D

Change-Id: I480aa1260718be59210d13be56d5d28a9df18a2c
CRs-Fixed: 688141
2016-10-10 05:12:13 -07:00
Arif Hussain
4afc226c49 qcacld-3.0: Fix uninitialized variable use in cds_set_5g_channel_params
Initialize pointers bonded_chan_ptr and bonded_chan_ptr2 in function
with NULL and add check to avoid NULL/wild pointer dereference.

Change-Id: I48e4417998d75a7a42d6e55106896709016ac61c
CRs-Fixed: 1075098
2016-10-10 05:12:12 -07:00
qcabuildsw
61bb0bcd99 Release 5.1.0.30C
Release 5.1.0.30C

Change-Id: I403a76b07b94278931713de0018e437f2dd920d8
CRs-Fixed: 688141
2016-10-10 04:33:23 -07:00
Mukul Sharma
f7d62e1ccc qcacld-3.0: Add ini to raise bug on SSR re-init failure
qcacld-2.0 to qcacld-3.0 propagation

Currently, If SSR re-init get failed then host raise VOS_BUG.
In this type of cases, OEM might prefer not to crash the device
instead want wlan recovery using driver unload followed by load.

Change-Id: If433aae949326af6a20df2190dd7356f211c4103
CRs-Fixed: 1017278
2016-10-10 04:33:22 -07:00
qcabuildsw
e1e7cd1c40 Release 5.1.0.30B
Release 5.1.0.30B

Change-Id: I524c0c9896eedb0e9907efb739d4e8392440de2e
CRs-Fixed: 688141
2016-10-10 03:55:03 -07:00
Nitesh Shah
5b7bae07fc qcacld-3.0: Add SBS support in hw_mode_list
The enhancement is to add SBS (Single Band Simultaneous)
support in hw_mode_list.

The WMI HW Mode definitions are redefined to use only
for host purpose.

Change-Id: I8b8c966b0130964c8e7de7967766629c955209d3
CRs-Fixed: 1072234
2016-10-10 03:55:02 -07:00
qcabuildsw
744e152a9a Release 5.1.0.30A
Release 5.1.0.30A

Change-Id: Ib38370edae55460eeedd78ec3cbbc6c69c687061
CRs-Fixed: 688141
2016-10-10 02:37:43 -07:00
Poddar, Siddarth
538581282b qcacld-3.0: Remove the processing for depreciated pktlog msg
Remove the processing of following msg types PKTLOG_TYPE_TX_MSDU_ID,
PKTLOG_TYPE_TX_FRM_HDR and PKTLOG_TYPE_TX_VIR_ADDR for ihelium as
support for these events is removed from FW.

Change-Id: Ic526507d8adf87e580bd5c23ad2e68e2154c38a8
CRs-Fixed: 1074043
2016-10-10 02:37:42 -07:00
qcabuildsw
e8ddb702e8 Release 5.1.0.30
Release 5.1.0.30

Change-Id: I04084060c44f6f732c49533ed074a805606f160e
CRs-Fixed: 688141
2016-10-07 21:18:47 -07:00
Deepak Dhamdhere
f74d6f8a97 qcacld-3.0: Fix peer unmap/map handling during roaming
Roam_synch indication processing in host performs peer detach/attach
operations after firmware has already moved to the new peer. Out of
sequence peer unmap and map events can mess up the reference count
for reused peer_id values, which can lead to crash.
Solution:
While detaching a peer during roam sync indication processing,
copy its peer_id_ref_cnt in peer_id_to_obj array to new variable
in the same peer map for that peer id. Peer is deleted at that point.
When the unmap events come in, decrement the old ref_cnt and
map events increment the real ref_cnt.
Once the old ref_cnt goes to 0, subsequent unmap operations apply to
the real peer.

CRs-Fixed: 1063177
Change-Id: I9b20f28f17dea1647a213b9f36060109264addf0
2016-10-07 21:18:46 -07:00
Deepak Dhamdhere
561cdb9c4a qcacld-3.0: Fix improper use of qdf_event_create
Improper use of qdf_event_create caused QDF_ASSERT. Use qdf_event_reset
in ol_txrx_peer_attach(). Use correct comparison for return value
of qdf_wait_single_event().

CRs-Fixed: 1065451
Change-Id: I735fe12230b6558123f73d68f09fd126bf0406d6
2016-10-07 21:18:44 -07:00
qcabuildsw
4f7f258402 Release 5.1.0.29Z
Release 5.1.0.29Z

Change-Id: I7be14ba7785a0207fef21c2d4461c6c364c10e3d
CRs-Fixed: 688141
2016-10-07 20:34:35 -07:00
Archana Ramachandran
1e6b9262ad qcacld-3.0: Add range check for P2P NOA request parameters
Add range check for P2P NOA parameters such as duration and
interval to prevent integer overflow from binary operation.

Change-Id: Iffa57d592af7ac6af7f67d80b85a276aa8faee4e
CRs-Fixed: 1072839
2016-10-07 20:34:34 -07:00
qcabuildsw
fa2d77387f Release 5.1.0.29Y
Release 5.1.0.29Y

Change-Id: I6abc5adbedf2b7184c7d3544f855acd09842a4e2
CRs-Fixed: 688141
2016-10-07 19:57:25 -07:00
Kabilan Kannan
32eb50281c qcacld-3.0: Clean up and refactor tdls module
Currently the build fails, if we disable TDLS
feature flag in the kbuild.
Fix all the tdls conditional compilation issues
to make a successfull build with tdls feature
flag enabled/disabled.

Change-Id: I78114474d9ebe65e76840cb581389535f3486e4f
CRs-Fixed: 1066077
2016-10-07 19:57:23 -07:00
qcabuildsw
f1ba31e987 Release 5.1.0.29X
Release 5.1.0.29X

Change-Id: I7625c975d6f1be9198fb080426b46a3b781fd976
CRs-Fixed: 688141
2016-10-07 19:24:26 -07:00
Ankit Gupta
d97be64489 qcacld-3.0: Remove unused message types
lim_process_message() function references to unused
message types that starts with eWNI_PMC*.

Cleanup the code and remove the unused message type
references from the code.

Change-Id: I5c88cb2544f74cb8c5e05b9178071ddbfaf2de23
Depends-on: 1727734
CRs-Fixed: 1071366
2016-10-07 19:24:25 -07:00
Ankit Gupta
fef4c02f2c qcacld-3.0: Make lim_process* messages static functions
lim_process_messages() and lim_process_deferred_message_queue
are currently a global functions, but they are only referenced
from within lim_process_message_queue.c.

Making lim_process_messages() and lim_process_deferred_message_queue
to be a static function and rearrange it to avoid any forward
reference of it.

Change-Id: I30c5b388814de5fc02fd0352ef41c324216af705
CRs-Fixed: 1071312
2016-10-07 19:24:23 -07:00
qcabuildsw
f754bee389 Release 5.1.0.29W
Release 5.1.0.29W

Change-Id: I3af91053db071b62137116ecd62c782fa9d05b7c
CRs-Fixed: 688141
2016-10-07 18:46:06 -07:00
Padma, Santhosh Kumar
ae6ae24d50 qcacld-3.0: Fix mgmtFrameSessionId in lim_send_p2p_action_frame
Cleanup as part of lim_p2p_action_cnf triggers only when
mgmtFrameSessionId is not 0xff. If cleanup does not happen
in error scenario, it can result in not clearing cfgState->buf
which can lead to dropping of further action frames in
__wlan_hdd_mgmt_tx.

Fix this by filling mgmtFrameSessionId with proper session id.

Change-Id: Icc0f5b576ff71776dc448a673b6e12defe0c514e
CRs-Fixed: 1074565
2016-10-07 18:46:05 -07:00
qcabuildsw
e62940e9d6 Release 5.1.0.29V
Release 5.1.0.29V

Change-Id: I372c04ea7e873dc5216225c827d02757a998cb08
CRs-Fixed: 688141
2016-10-07 17:35:01 -07:00
Rajeev Kumar
2df78cc9c3 qcacld-3.0: Clean up obsolete WMA power API wma_set_qpower_force_sleep
WMA qpower API wma_set_qpower_force_sleep is obsolete and is no longer
used. Clean up unused API wma_set_qpower_force_sleep.

Change-Id: Iad32be5e11c345a542b8f8f6660987a4aff837c7
CRs-Fixed: 1075289
2016-10-07 17:35:00 -07:00
qcabuildsw
405ba71ae7 Release 5.1.0.29U
Release 5.1.0.29U

Change-Id: Ia7f974a488976d3a1d88332a9fee0d6525b6289a
CRs-Fixed: 688141
2016-10-07 15:52:49 -07:00
Selvaraj, Sridhar
e9199ab7c7 qcacld-3.0: Fix to send TDLS frames on peer sta index
qcacld-2.0 to qcacld-3.0 propagation

Currently, After p2p disconnection system role changes to
unknown and due to which tx flag uses self station index
which would send TDLS frames on self station index thus
leading to TDLS connection failure after p2p session teardown.
Fix is to use peer station index in tx flag while sending
TDLS frames except TDLS discovery response which should go on
self station index.

Change-Id: I87ea8806a47730b553055e47bb3e7bdf0266b48f
CRs-Fixed: 970761
2016-10-07 15:52:48 -07:00
Selvaraj, Sridhar
5d95e631e3 qcacld-3.0: Fix consecutive TDLS connection failure after TDLS add sta failure
qcacld-2.0 to qcacld-3.0 propagation.

Currently, Failure of TDLS add sta is leading to failure of
next consecutive tdls connection.
Fix is to update the failure info to HDD and return error
to supplicant.

Change-Id: I0d46a198f2abb87b4a4350b454deb98c5e3b8211
CRs-Fixed: 958534
2016-10-07 15:52:46 -07:00
qcabuildsw
ccd00e89a0 Release 5.1.0.29T
Release 5.1.0.29T

Change-Id: I94e9f3abe6498420711e832526d003ff2f443bc0
CRs-Fixed: 688141
2016-10-07 14:14:45 -07:00
Sandeep Puligilla
ba71da4f6c qcacld-3.0: Detect duplicate session open request
Detect duplicate session request with same mac address
and return failure to requestor.

Change-Id: I0155f29e879e1c2a46a8b9efbcaf160353bf9c05
CRs-Fixed: 1072885
2016-10-07 14:14:44 -07:00
qcabuildsw
6485e1a407 Release 5.1.0.29S
Release 5.1.0.29S

Change-Id: Ifaeb43ba3ef6e851e3e5e0462dfd28ebb4dc29b3
CRs-Fixed: 688141
2016-10-07 12:54:41 -07:00
Kapil Gupta
4b2efbbb0c qcacld-3.0: Add support for 2.4G VHT Interop in SAP
qcacld-2.0 to qcacld-3.0 propagation

In 2.4GHz some stations advertise VHT capability IE in Assoc Req frame.
Add support to detect the VHT capability in vendor specific IE in
Assoc Req frame and establish the connection with VHT mode to
improve performance.

Change-Id: I08dbcb3ce1895aa2108924d7a672e5d9be514e3d
CRs-Fixed: 924814
2016-10-07 12:54:41 -07:00
Padma, Santhosh Kumar
022892105c qcacld-3.0: Fix status code during disassociation
qcacld-2.0 to qcacld-3.0 propagation

Currently status code is mapped same as reason code which results
in wrong status code mapping. Fix this by adding appropriate status
code.

Change-Id: I75a66601c33b4e93fcac674415f38d5a8184c8f3
CRs-Fixed: 1062308
2016-10-07 12:54:38 -07:00
Padma, Santhosh Kumar
9aba02f52c qcacld-3.0: Dump driver information
qcacld-2.0 to qcacld-3.0 propagation

Dump state information of HDD, SME, PE and WMA layers
into a buffer. Contents of this buffer will be copied
into user space using proc entry /proc/debugdriver/
driverdump.

Change-Id: Ifbb102e440d7df20defa1a397964cb9b55082bf9
CRs-Fixed: 955357
2016-10-07 12:54:36 -07:00
Kondabattini, Ganesh
c846f3a36a qcacld-3.0: Consider ACS override params only if ACS is enabled
qcacld-2.0 to qcacld-3.0 propagation

Consider the parameters 'acs_channel' and 'acs_dfs_mode' only
when ACS is enabled for that SAP. Otherwise driver is going to
override the channel even if user configures a fixed channel in
hostapd.conf file.

Change-Id: Ibe24828690ace91338ade10fd00c49fc4acdbd81
CRs-Fixed: 1026420
2016-10-07 12:54:34 -07:00
Padma, Santhosh Kumar
a71196710c qcacld-3.0: Set Tx/Rx aggregation size
qcacld-2.0 to qcacld-3.0 propagation

Add changes to set Tx/Rx aggregation size. Also, add ini parameters
for Tx/Rx aggregation sizes.

Change-Id: Ia5811bf7cf7081989fde5c8cdcca84b42120b90c
CRs-Fixed: 990161
2016-10-07 12:54:32 -07:00
Bhargav Shah
a89d3b4d80 qcacld-3.0: Avoid race condition when vdev is deleted
qcacld-2.0 to qcacld-3.0 propagation

If SME posts message to WMI after vdev_detach happens,
there can be a race condition.
In this case VDEV_SET_PARAM will be called after VDEV_DELETE.
Fix this with introduction of new Boolean flag "is_vdev_valid" which
will be true after VDEV_CREATE is done. This flag will be false
when deletion of vdev happens.
WMI will do VDEV_SET_PARAM only if "is_vdev_valid" true.

Change-Id: Idffd0979bd9bdefa1225d2ea6a24180d81000f48
CRs-Fixed: 964146
2016-10-07 12:54:30 -07:00
qcabuildsw
81eb2b3f6e Release 5.1.0.29R
Release 5.1.0.29R

Change-Id: I7d4d89b51ab0e2e0b0b258c41fa14699cdfcb982
CRs-Fixed: 688141
2016-10-07 09:49:04 -07:00
Nitesh Shah
4c48af3db1 qcacld-3.0: Update BW for interface when moving to single MAC mode
If the device is operating in MAC0 and MAC1. If the interface
present is MAC0 is removed, the interface in MAC1 moves to MAC0.
But the bandwidth for the interface is not updated properly.

The fix is to update the bandwidth of the MAC1's interface when
the MAC0's interface is removed, and is replaced by MAC1's
interface.

Change-Id: If114167f66d13a3660f9b92b72706bfc2e782b50
CRs-Fixed: 1073581
2016-10-07 09:49:03 -07:00
Nitesh Shah
877ad5d74d qcacld-3.0: Update hw_mode_list as per WMI_SERVICE_READY_EXT_EVENT
Driver updates its hw_mode_list entries as per hw_mode_list
given by firmware during WMI_SERVICE_READY_EVENT.

The enhancement is to update hw_mode_list entries in the driver
using the values received in WMI_SERVICE_READY_EXT_EVENT from
the firmware.

Change-Id: I5e4d97523cb7fd018767d5d2fda841f03b2406f6
CRs-Fixed: 1070005
2016-10-07 09:49:02 -07:00
Nitesh Shah
d60bde2bb6 qcacld-3.0: Move a cds log to appropriate log level
A cds log for cds_get_channel_list() is printing quite often
and spamming the kernel logs. This log is not for error.
Hence moving this to appropriate log level.

Change-Id: I5d037f47729b612d6754e64f46b627998ec026f8
CRs-Fixed: 1072651
2016-10-07 09:49:00 -07:00
qcabuildsw
a546aea62d Release 5.1.0.29Q
Release 5.1.0.29Q

Change-Id: I3faed7c8d2e5e2c6b331ea79a8ac3e988c542579
CRs-Fixed: 688141
2016-10-07 08:32:06 -07:00
Rajeev Kumar
9bb2e85aff qcacld-3.0: Power offload unit test framework enhancements
Recently host power offload suspend/resume has switched to 3
stage process. Enhance power offload unit test framework accordingly,
and improve error handling.

Change-Id: I8cc1e955fbaca631ee7fd76b0c907d1e68c836bf
CRs-Fixed: 1072423
2016-10-07 08:32:05 -07:00
qcabuildsw
45d62ce21f Release 5.1.0.29P
Release 5.1.0.29P

Change-Id: I290bcc4977b1c9267c4885750a1707386605be18
CRs-Fixed: 688141
2016-10-06 11:24:31 -07:00
Hanumanth Reddy Pothula
47d2926b35 qcacld-3.0: In FTM mode, don't update config param, max peer limit
Presently, driver configuration from FTM mode to any other mode
is failing due to start module is failing, because configuration
parameter(max peer limit) is set to zero during FTM mode
initialization.

In FTM mode, during start modules, don't update configuration
parameter, max peer limit.

Change-Id: Ie5adea45b2dac099e797a1e25536cc959f3d5525
CRs-Fixed: 1073593
2016-10-06 11:24:30 -07:00
qcabuildsw
489e79b099 Release 5.1.0.29O
Release 5.1.0.29O

Change-Id: Idb4a6f647a160cf9d76a98f1ff59a0542598eb08
CRs-Fixed: 688141
2016-10-06 08:14:45 -07:00
Jeff Johnson
db6f9c45e2 qcacld-3.0: Remove obsolete wlan_hdd_mib.h
All in-code references to wlan_hdd_mib data structures have been
removed from the driver, so delete the mib structure from the adapter
context and the remove the header file itself.

Change-Id: I774d16df363d069eae1616807ce6f80da4800bb4
CRs-Fixed: 1073739
2016-10-06 08:14:44 -07:00
Jeff Johnson
6716a4ad9e qcacld-3.0: Remove obsolete connDot11DesiredBssType
All users of connDot11DesiredBssType have been converted to better
supported interfaces, so remove all traces of this field.

Change-Id: Iabfc4642a500587abd1f10d4fbc3f9e88f627a83
CRs-Fixed: 1073739
2016-10-06 08:14:42 -07:00
Jeff Johnson
229416002f qcacld-3.0: Remove obsolete hdd_conn_get_connected_bss_type()
Function hdd_conn_get_connected_bss_type() is no longer being used, so
remove it.

Change-Id: I0aafea43631d0ab8d3a99d8e913392f6090cd124
CRs-Fixed: 1073739
2016-10-06 08:14:41 -07:00
Jeff Johnson
9edf957229 qcacld-3.0: Avoid eMib_dot11DesiredBssType in cfg80211
Currently in wlan_hdd_cfg80211.c wlan_hdd_try_disconnect() calls
hdd_conn_get_connected_bss_type() which returns a value of
eMib_dot11DesiredBssType.  This type is being deprecated so directly
use the adapter's device_mode.

Change-Id: Ib8981750475bd27818a0c7e4e386396869d90e69
CRs-Fixed: 1073739
2016-10-06 08:14:38 -07:00
Jeff Johnson
9eeed0aedb qcacld-3.0: Cleanup strange behavior in __iw_set_mode()
__iw_set_mode() currently uses hdd_conn_get_connected_bss_type() to
see if the adapter is connected, discarding the connectedBssType
returned by the function.  That is not the correct API for this use
case. Clean up this strange behavior by using hdd_conn_is_connected()
to see if the adapter is connected.

Change-Id: I66f85fb8275ae2885012ebf8710187b2b886dfb0
CRs-Fixed: 1073739
2016-10-06 08:14:36 -07:00
Jeff Johnson
d6e4b639f8 qcacld-3.0: Cleanup strange behaviors in __iw_set_essid()
__iw_set_essid() currently has a few strange behaviors:
* It currently rejects any request when in IBSS mode.
* It currently uses hdd_conn_get_connected_bss_type() to see if the
  adapter is connected, discarding the connectedBssType returned by
  the function.
* It currently uses the conn_info.connDot11DesiredBssType field to
  determine the BSS type, but this field is being deprecated.

Clean up these behaviors by allowing IBSS mode, by using
hdd_conn_is_connected() to see if the adapter is connected, and by
using the adapter device_mode to determine the BSS type.

Change-Id: I0180eb70487dd664c1cb85eee9a4d53eb7cb14a9
CRs-Fixed: 1073739
2016-10-06 08:14:34 -07:00
qcabuildsw
71e0316eda Release 5.1.0.29N
Release 5.1.0.29N

Change-Id: I593a4500492dfb1d713fe604cbb892b6a2b3af3a
CRs-Fixed: 688141
2016-10-06 04:08:58 -07:00
Agrawal Ashish
06e76d2909 qcacld-3.0: Populate correct supported rates from hostapd.conf file
qcacld-2.0 to qcacld-3.0 propagation

Currently driver populates default supported and extended supported
rates in beacons even if hostapd.conf file wants to change
supported and extended supported rates.
Fix this by parsing beacon head and tail to get supported
and extended rates and populate them in sap config.
If Driver force acs is enabled, driver acs will get priority.
In case of driver based acs, driver should
ignore basic and extended rates from hostapd.conf and should
populate default rates.

Change-Id: I3226438b908a96f1b1bd3c2968a0c20eef81a799
CRs-Fixed: 1035768
2016-10-06 04:08:57 -07:00
Agrawal Ashish
b2d1a45a78 qcacld-3.0: Add support for legacy off channel notification in case of p2p-GO
qcacld-2.0 to qcacld-3.0 propagation

In this feature,
1) When a legacy client connects to P2P GO, Host will indicate FW
   to stop NOA and start CTS2SELF.
2) Ini Support for this feature.

Change-Id: If76d8ef454633d9a02dd6057b5d6ca3e9e639ea4
CRs-Fixed: 932264
2016-10-06 04:08:49 -07:00
qcabuildsw
05910db713 Release 5.1.0.29M
Release 5.1.0.29M

Change-Id: I5a16e164585382540061d911a7afc90d62b06cbf
CRs-Fixed: 688141
2016-10-05 15:02:42 -07:00
Dustin Brown
38f2b5584c qcacld-3.0: Fill regulatory info before wiphy init
Currently, some regulatory information is being populated after it may
be needed by wiphy for initialization. Reorder the order of execution to
populate this data before it is needed by wiphy.

Change-Id: I218c19c84b6c7f0f62a94b211201281939838438
CRs-Fixed: 1074146
2016-10-05 15:02:41 -07:00
qcabuildsw
55780b5599 Release 5.1.0.29L
Release 5.1.0.29L

Change-Id: Id70f535bab06f14d17eb8e774475010768a57481
CRs-Fixed: 688141
2016-10-05 13:54:08 -07:00
Archana Ramachandran
75c1ca7de8 qcacld-3.0: Fix HDD logging API in wlan_hdd_assoc
HDD should use new logging API i.e., hdd_*

CRs-Fixed: 937586
Change-Id: Iabe36591e6aae45cb837f0f434ccafd743f3b746
2016-10-05 13:54:07 -07:00
qcabuildsw
a2bbaddd9d Release 5.1.0.29K
Release 5.1.0.29K

Change-Id: Icdfe0c05382e946e76f3e34bc7a5542aba5f4da8
CRs-Fixed: 688141
2016-10-05 11:55:31 -07:00
Manjunathappa Prakash
acf3561f35 qcacld-3.0: Do NULL check on adapter->dev in hdd_lro_flush
Fix the issue due NULL pointer access on adapter->dev.
One of the instance this happened is inside __hdd_hostapd_uninit().

Change-Id: Ie2a3e41d446261cd32729b8eb8f12e23134a8828
CRs-Fixed: 1073808
2016-10-05 11:55:30 -07:00
qcabuildsw
0a4bd746b2 Release 5.1.0.29J
Release 5.1.0.29J

Change-Id: If9de5595f4d45a7fb38b34d608e953fea7f1aa8f
CRs-Fixed: 688141
2016-10-05 07:48:06 -07:00
Arun Khandavalli
ca198b5eb5 qcacld-3.0: Allocate memory for set_offload and program at once
qcacld-2.0 to qcacld-3.0 propagation

Presently, in BPF set_offload structure and the filter program are
allocated separately. In certain error paths the program is not
freed correctly because of which there can be memory leaks.
Have a single allocation for the set_offload and program to avoid any
memory leaks.

Change-Id: I097d3408cc89c26e015fd6aee8668f53e8f64cf7
CRs-Fixed: 1006522
2016-10-05 07:48:04 -07:00
qcabuildsw
87499b66d7 Release 5.1.0.29I
Release 5.1.0.29I

Change-Id: I810890166547a413bfbdfa053417e2bb5ddfafc2
CRs-Fixed: 688141
2016-10-05 03:59:08 -07:00
Komal Seelam
f2136bb225 qcacld-3.0: Enable Runtime PM after first interface is up
Enable Runtime PM after first interface is up and disable it when
the last interface goes down. The current logic is enabling runtime
pm too early, causing crashes.

Change-Id: I486409bd8375de327b724fc16ab32b4907c1c093
CRs-Fixed: 1072520
2016-10-05 03:59:07 -07:00
qcabuildsw
a6b5859c3b Release 5.1.0.29H
Release 5.1.0.29H

Change-Id: I2003527c690cf8217aa9a1b9decc6dc8f90c3e09
CRs-Fixed: 688141
2016-10-05 03:13:24 -07:00
Vidyullatha Kanchanapally
5d0a83e23c qcacld-3.0: Buffer delTs if an addTs is buffered
qcacld-2.0 to qcacld-3.0 propagation

Currently when an addTs is buffered for processing in SME
and a delTs for the corresponding addTs is issued, the delTs
is getting dropped since the addTs has not yet been processed.
Fix this by buffering the delTs command if a corresponding flow
is not found.

Change-Id: Ib759ee7f2a5d4c089d5362f93568fb4dd6eda8cf
CRs-Fixed: 1008956
2016-10-05 03:13:23 -07:00
qcabuildsw
86d3824fbd Release 5.1.0.29G
Release 5.1.0.29G

Change-Id: I6efe93cc37529f9834f73f45a04bd806263baa04
CRs-Fixed: 688141
2016-10-05 00:34:13 -07:00
Komal Seelam
af61ccdcb1 qcacld-3.0: Fix wrong use of Runtime get API inplace of Runtime put
Wrong use of runtime get results in mismatch in runtime pm usage count.
Hence fix it by calling runtime put API instead of get API.

Change-Id: I89dfcd2d1ad980df47f2244c9fcac5a68ac27d71
CRs-Fixed: 1072520
2016-10-05 00:34:12 -07:00
qcabuildsw
4d8acdd693 Release 5.1.0.29F
Release 5.1.0.29F

Change-Id: I9d8ff53b4fc51fcebe1d6f721c0f2060d1865f18
CRs-Fixed: 688141
2016-10-04 23:00:48 -07:00
Vidyullatha Kanchanapally
87b224f183 qcacld-3.0: Get operating channel only when connected or bss started
qcacld-2.0 to qcacld-3.0 propagation

wlan_hdd_mgmt_tx can be called in not-connected state in case of
station mode. Here the operating channel is fetched from the connected
info without actually checking whether the sta interface is connected
or not and hence can lead to making a wrong decision whether or not
to request ROC. Fix the above issue by fetching the operating channel
only in connected state. In not-connected state driver always goes
for requesting a ROC. Add similar check in case of soft ap and
P2P-GO to get operating channel only when the bss is started.

Change-Id: I91571f3b6a4f68487afcddd3152f469ff502eb6b
CRs-Fixed: 957469
2016-10-04 23:00:47 -07:00
Vidyullatha Kanchanapally
518c5d7979 qcacld-3.0: Append EC IE and Interworking IE to beacon
qcacld-2.0 to qcacld-3.0 propagation

Supplicant is sending Extended capabilities (EC) IE and
Interworking IE as part of beacon IEs to the driver but
the driver is not looking for these IEs when populating
the beacon. To fix this append the EC IE and Interworking
IE to the beacon template.

Change-Id: I6e19bfacb6f83526ce80d59cf43c23c6e2a77233
CRs-Fixed: 964594
2016-10-04 23:00:45 -07:00
Sriram Madhvapathi
58f0e27b2b qcacld-3.0: Fix IBSS peer info handling when no peers are connected
qcacld-2.0 to qcacld-3.0 propagation

wma_ibss_peer_info_event_handler returns error when peer_info is NULL.
However, peer_info can be NULL in case num_peers connected is 0.
Handle this case in hdd_get_ibss_peer_info_cb so that callers of
GETIBSSPEERINFOALL do not see stale results after all connected peers
have left the IBSS. Also, log the errors for enabling debug and reset
the ibss_peer_info statistics.

Change-Id: I913748bf11f9362e5faaaf29c26fc39fda85f4a9
CRs-Fixed: 1007555
2016-10-04 23:00:42 -07:00
qcabuildsw
3ccc850439 Release 5.1.0.29E
Release 5.1.0.29E

Change-Id: Ic6282439799d7322837636c9855d8fad73caa870
CRs-Fixed: 688141
2016-10-04 22:30:00 -07:00
Sen, Devendra
4bbf40a0eb qcacld-3.0: Fix TDLS peer QoS capability in transport layer
qcacld-2.0 to qcacld-3.0 propagation

In __wlan_hdd_cfg80211_tdls_oper, since IS_ADVANCE_TDLS_ENABLE
is disabled, the tdlsLinkEstablishParams does not get populated
with correct QoS capability of the peer. The transport layer is
then configured with this wrong capability. This results in all
packets, independent of TID, enqueued into BE queue. Fix this
by getting the QoS capability from hddTdlsPeer_t.

Change-Id: Iafbd416026c9a0e4b05654ec810b0e0f3546beba
CRs-Fixed: 1010915
2016-10-04 22:29:59 -07:00
qcabuildsw
a72a943073 Release 5.1.0.29D
Release 5.1.0.29D

Change-Id: I7b9b8ae7116ec104039f8e9b75b2d9a978bcd361
CRs-Fixed: 688141
2016-10-04 20:55:43 -07:00
Kapil Gupta
139c330d95 qcacld-3.0: Cancel Remain on channel command before stop ap
qcacld-2.0 to qcacld-3.0 propagation

If P2P-GO stop comes during ROC, it may cause WLANSAP_StopBss
API to fail. ROC is stuck as firmware is running Gscan which
is higher priority than p2p ROC scan prioirty.
This causes ROC command to be stuck in the active list for 10
seconds and will eventually cause a crash in FW when host will
try to add self peer since older peer is still present in the
FW with same mac address

Add change to increase the priority of P2P scan and cancel ROC
before calling stop AP API.

CRs-Fixed: 1065161
Change-Id: I3a62234596c8c2acc0155b483847b9adc159d757
2016-10-04 20:55:42 -07:00
Kapil Gupta
80f4a8dad8 qcacld-3.0: Correct IEs in beacon filter API
qcacld-2.0 to qcacld-3.0 propagation

IE's numbers are not set correctly in beacon filter API.

Add changes to correct this.

Change-Id: Ib489b0fc7bc1f0a2b7414f59ed325deecb65bb8e
CRs-Fixed: 1030084
2016-10-04 20:55:39 -07:00
Sreelakshmi Konamki
336e16e392 qcacld-3.0: Fix to update proper session_entry in lim_process_messages()
qcacld-2.0 to qcacld-3.0 propagation

In lim_process_messages(), few SME messages updates 'session_entry'
using SME session id. Host driver should not use SME session id in PE.

Fix to update 'session_entry' using pe_find_session_by_bssid().

Change-Id: Icebf4604d5a3a825afc6b1d3540bd228488ce267
CRs-Fixed: 1020643
2016-10-04 20:55:37 -07:00
Masti, Narayanraddi
2194de20ce qcacld-3.0: Register event in wma to track TDLS connection
qcacld-2.0 to qcacld-3.0 propagation

TDLS connection will teardown in host on receiving teardown
event from Firmware. But if host is in WOW mode then host will
not receive teardown event from FW.

To fix this issue add TDLS connection tracker event changes in WMA.

Change-Id: I3a305e95410d2884b41e9e4183ed4eeabd733f9d
CRs-Fixed: 991993
2016-10-04 20:55:35 -07:00
Abhishek Singh
c50055ab90 qcacld-3.0: If MCC is disabled do not roam to an AP which cause MCC
qcacld-2.0 to qcacld-3.0 propagation

Even though MCC is disabled by gEnableMCCMode ini, driver try to
roam to APs which may cause MCC but as MCC is disable the roaming
fails eventually in CSR while trying to connect to the new profile.

Driver creates a preauth session which is not deleted upon failure.
The session sme state is eLIM_SME_WT_REASSOC_STATE and thus fresh
scan required is set to false and cached scan result are returned.

Do not add the APs which cause MCC scenario, in preauth candidate
list if MCC is disabled.

Change-Id: Iae2a887e1fa34f89f340bd7392d757e1add97a16
CRs-Fixed: 992672
2016-10-04 20:55:33 -07:00
Abhishek Singh
49275561ed qcacld-3.0: Ignore beacon miss if CSA is in progress
qcacld-2.0 to qcacld-3.0 propagation

In case if CSA is in progress and beacon missed is received
the session is disconnected. Now if STA tries to connect to new
AP and at the same time CSA timer expires then tries to switch
channel. As old session is deleted this switch channel fails
as channel info is invalid. This also leads to LIM state change
and thus the roam command is not removed from active command
list.

To fix this:
 - Ignore beacon miss if CSA is in progress
 - In CSA timer add check to ensure that channel change is for
   current session.

Change-Id: Icbb80394e4870ccae19782ee17e37465020e93f9
CRs-Fixed: 1060378
2016-10-04 20:55:32 -07:00
Selvaraj, Sridhar
a11edcba42 qcacld-3.0: Enable kernel specific WiFiSON changes default from 4.7.0 kernel
Enable driver changes dependent on kernel flags CFG80211_SCAN_BSSID
and CFG80211_CONNECT_PREV_BSSID default for linux kernels starting
from version 4.7.0 as the dependent kernel changes are present from
this version.

Change-Id: I0ee25eb11c75c688becbf61b4424bd0bae28bd3a
CRs-Fixed: 1064018
2016-10-04 20:55:30 -07:00
Selvaraj, Sridhar
7f42b5f1d7 qcacld-3.0: Add OUI type(0x10) to HS2.0 IE frame parser
Add OUI type(0x10) to HS2.0 IE frame parser. In current implementation
without OUI type being set, the first IE with WFA OUI is parsed as
HS2.0 IE, even though the OUI type is not 0x10.

Change-Id: I63d97fc100f419c09bc22d1747f434fb9a5c3b06
CRs-Fixed: 1067816
2016-10-04 20:55:28 -07:00
qcabuildsw
dc802ae8e1 Release 5.1.0.29C
Release 5.1.0.29C

Change-Id: Ied83d163ac0172c248fcdbb567da97562707cb7a
CRs-Fixed: 688141
2016-10-04 18:58:42 -07:00
Hanumanth Reddy Pothula
9f4048fff7 qcacld-3.0: During con mode change stop netif queues
If user triggers con_mode change, while data transmissions are
happening, there is possibility of device crash, as data queues
are not stopped during con_mode change.

In con_mode handler, stop data queues before stopping modules.

Change-Id: I348d0da707ea4b706edfcd396adee32502180e3e
CRs-Fixed: 1070008
2016-10-04 18:58:41 -07:00
qcabuildsw
5667e8d787 Release 5.1.0.29B
Release 5.1.0.29B

Change-Id: I86c15dd3f5aac7a57f68ffb77bb4b5d1d7c77e84
CRs-Fixed: 688141
2016-10-04 18:29:18 -07:00
Selvaraj, Sridhar
5c9146d3cf qcacld-3.0: Fix double mem free while using cds_send_mb_message_to_mac
cds_send_mb_message_to_mac function frees the input memory buffer
irrespective of the success/failure of the message posting to the
MAC message queue.

This changes fixes the cases where the input buffer is attempted to
be freed for fail case of cds_send_mb_message_to_mac

Change-Id: I920822bf0ee268adb1312eed20de53450802fdc8
CRs-Fixed: 1070461
2016-10-04 18:29:16 -07:00
qcabuildsw
66cc5ab765 Release 5.1.0.29A
Release 5.1.0.29A

Change-Id: I71e10aca878e8e98c7db25e006b60af02b331cc3
CRs-Fixed: 688141
2016-10-04 15:44:08 -07:00
Houston Hoffman
abaf6736eb qcacld-3.0: Reset skb->cb when forwarding intrabss packets
skb->cb has different meaning for rx & tx packets. Reset the
cb to avoid mis-interpretation of the data that leads to
eratic misbehavior the least of which is failure to forward
packets.

Change-Id: I5d1396c70cd93d165aa825c4408ad46d082693f3
CRs-Fixed: 1065769
2016-10-04 15:44:07 -07:00
Houston Hoffman
2359ca00da qcacld-3.0: Fix free_pool referencing in hdd_lro_desc_find
list_empty api does not work correctly on copied list head.
Need to point to the original free_pool memory so that the
spinlocking and list management apis work as expected on
the original memory.

Change-Id: I631466d156c83f70cb6ea06eec0e361081f294cc
CRs-Fixed: 1070258
2016-10-04 15:44:05 -07:00
qcabuildsw
987ce39054 Release 5.1.0.29
Release 5.1.0.29

Change-Id: I46dfb5811ffd936ad573818cbbbfd71340cc99f1
CRs-Fixed: 688141
2016-10-04 13:45:02 -07:00
Archana Ramachandran
dfb6f852b9 qcacld-3.0: Fix HDD logging API in wlan_hdd_p2p
Use only HDD logging API to prevent check patch errors

CRs-Fixed: 937681
Change-Id: I76b11c6783d123c727de4e88e46f9360ba54b0bd
2016-10-04 13:45:01 -07:00
Archana Ramachandran
e87005ca56 qcacld-3.0: Fix incorrect log levels in CFG INI
Reduce the level of non error logs to notice.

CRs-Fixed: 936397
Change-Id: Ia433e9ec2b9bae151591e1d9db95dfbdbe527281
2016-10-04 13:44:58 -07:00
qcabuildsw
f19292b172 Release 5.1.0.28Z
Release 5.1.0.28Z

Change-Id: I5c8c3ffe8ace5505359d4537f832d0a56cefe221
CRs-Fixed: 688141
2016-10-04 13:14:40 -07:00
Sandeep Puligilla
88de6fb765 qcacld-3.0: Fix call to duplicate vdev detach
Null pointer dereference due to duplicate vdev
detach call.
Vdev detach is triggered as part of the delete
self sta but in failure scenario del bss request
timeout handler also called the vdev detach
which triggered NULL pointer dereference in OL layer.

-Fix the del bss request timeout handler by adding
more condition checks specific to P2P as the changes
are related to P2P.
-Remove vdev stop from the vdev start timeout
handler.

Change-Id: Ibe848c89823efbb10f7dcc193157189106ba238b
CRs-Fixed: 1070817
2016-10-04 13:14:39 -07:00
qcabuildsw
c1485fdaeb Release 5.1.0.28Y
Release 5.1.0.28Y

Change-Id: Ifb088de83a4b42476391763c5bfadf988cc62570
CRs-Fixed: 688141
2016-10-04 12:40:53 -07:00
Padma, Santhosh Kumar
d7cc079983 qcacld-3.0: Add changes for DISA certification
Add changes to parse DISA parameters received from
user space and pass them to firmware for firmware
to encrypt data and send back to driver. Also, add
changes to print encrypted data received from firmware.

Change-Id: Ic6928a93f799c47518fbbad96564062f595287dd
CRs-Fixed: 1064970
2016-10-04 12:40:51 -07:00