Commit graph

8,299 commits

Author SHA1 Message Date
Jeff Johnson
c742d8dddc qcacld-3.0: Fix lim_update_sta_ds() style issues
Checkpatch reported the following issues, so fix them:
- WARNING: Missing a blank line after declarations
- WARNING: Block comments use a trailing */ on a separate line
- ERROR: that open brace { should be on the previous line

Change-Id: I7671e3a165cb7f372187c37ce31a92778422031a
CRs-Fixed: 2124909
2017-10-13 00:59:58 -07:00
Jeff Johnson
0daa9447d2 qcacld-3.0: Fix csr_check_concurrent_channel_overlap() style issues
Checkpatch reported the following issues, so fix them:
- ERROR: else should follow close brace '}'
- WARNING: braces {} are not necessary for single statement blocks

Change-Id: I9c8d329d70ee258834eaaea0183ba2e36643b572
CRs-Fixed: 2124908
2017-10-13 00:59:55 -07:00
snandini
0dc7668325 Release 5.2.0.48R
Release 5.2.0.48R

Change-Id: Id501f9e0446a34ab2015d9edfa084237a47e3ef3
CRs-Fixed: 774533
2017-10-13 00:10:48 -07:00
Yue Ma
9f275d9bdb qcacld-3.0: Add debug print for wlan_hdd_validate_context
It can help to trace what is happening during load/unload and
avoid just exiting silently.

Change-Id: I61a451058a7846d3627500db2c9d8d5998e8210e
CRs-fixed: 2123331
2017-10-13 00:10:48 -07:00
Yue Ma
cd359b7e00 qcacld-3.0: Move runtime suspend context init to correct place
Commit fb9d5acfed and 645749571d introduce an API to deinit scan
runtime suspend lock and move runtime suspend context deinit in
order to fix a memory leak issue. However, it breaks SSR because
runtime suspend context init and deinit are not matching during
SSR which results double free happens in the rmmod after SSR.
Move runtime suspend context init to correct place.

Change-Id: I698385ab52e7e18636b143cd71c229afb676baff
CRs-fixed: 2123331
2017-10-13 00:10:46 -07:00
Yuanyuan Liu
5583b2cd0f qcacld-3.0: Convert probe return error from -ENOMEM to -EPROBE_DEFER
If probe failed because of no memory, we want to try to recovery by
issuing a re-probe for built-in driver. Hence, convert probe return
error from -ENOMEM to -EPROBE_DEFER for built-in driver so that
platform driver can issue re-probe based on the return value.

CRs-Fixed: 2124159
Change-Id: I6cca0ed186554c8065b77af8c178ca9e143abf98
2017-10-13 00:10:44 -07:00
Jeff Johnson
f7ca9643c9 qcacld-3.0: Fix bad log in wma_peer_set_default_routing()
Checkpatch reported the following problem:
ERROR: Prefixing 0x with decimal output is defective

Correctly use %x when logging hex data.

Change-Id: I8150cf6ae5770a18035f006df9e774932919d9b7
CRs-Fixed: 2124907
2017-10-13 00:10:42 -07:00
Sandeep Puligilla
2f931531b0 qcacld-3.0: Add sanity check to avoid overflow in WMI event data
In WMA, data from firmware event buffer is used without
sanity checks for upper limit. This might lead to a potential
integer overflow further leading to buffer corruption.

Add sanity check to avoid integer overflow.

Change-Id: Id47e12015a4d46af24180b621b52ffcb17596c07
CRs-Fixed: 2112832
2017-10-13 00:10:40 -07:00
CNSS_WLAN Service
61886f7c81 Merge "Release 5.2.0.48Q" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:56:49 -07:00
CNSS_WLAN Service
848a6e7b40 Merge "qcacld-3.0: Remove check against WMI_SVC_MSG_MAX_SIZE" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:56:47 -07:00
CNSS_WLAN Service
7a5855645a Merge "qcacld-3.0: skip notifying SSR framework when wlan unloading is ongoing" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:56:45 -07:00
CNSS_WLAN Service
f98eaf0517 Merge changes I725e76bf,Ia233c478,I734ff795,Icf619522,Icbb763bf,I743d1161,I41662596,Ie956ea14,I92743589,I023d7374,I808a4048,Ife8b1d19,I5c21b8bd,I92a5eb1b,I1214759e,I0f3bc41b,I0f0a63f9,I40f13045,I5458daf0,I5d23b8cc,Ic58c3330,I6aa92cc7,Ic6b2082c,Ifb03d4d1,Ia4241c99,Id6cae404,I7b871774,I13938fc1,I43198467,Ia698c529,I8d9b3098,I781fb05b,Ic2b74c52,Ia6ac669b,I0b86be90,I0afb77de,I01250c63,I08edb806,Ib36ebb6c,I89d930c5,I378e9667,I082f62f5,I8fe9c176,I08289306,I21479f51,I9d1760aa,I7dea8413,I2a4f9011,Ib2581208,Ieb4ce8fb,I00a408c1,I6733a376,Ife73dc00 into wlan-cld3.driver.lnx.2.0-dev
* changes:
  Release 5.2.0.48P
  qcacld-3.0: Use per session cb mode to validate channel bw switch
  qcacld-3.0: Add check for vdev_id in wma_unified_bcntx_status_event_handler
  Release 5.2.0.48O
  qcacld-3.0: Avoid integer overflow in wma_ndp_end_indication_event_handler
  Revert "qcacld-3.0: Logical AND current UAPSD bitmask with ADDTS rsp values"
  qcacld-3.0: Acquire wakelock until change iface timer expires
  qcacld-3.0: Implement nbuf alloc fail replenish timer
  qcacld-3.0: Add check for vdev_id in wma_p2p_lo_event_handler
  qcacld-3.0: Add sanity check for num_hw_modes and num_phy
  qcacld-3.0: Add INI support for best candidate algo and RSSI scoring
  qcacld-3.0: Fix potential buffer overwrite in wma_unified_link_iface_stats_event_handler
  Release 5.2.0.48N
  qcacld-3.0: Remove assert in wma_get_ll_stats_ext_buf
  Release 5.2.0.48M
  qcacld-3.0: Enable the TX orphan for TCP packets by gEnableTxOrphan
  Release 5.2.0.48L
  qcacld-3.0: Fix for set11Dstate ioctl
  Release 5.2.0.48K
  qcacld-3.0: Fix trivial long lines in wlan_hdd_assoc.c
  qcacld-3.0: Fix whitespace issues in WE_UNIT_TEST_CMD handler
  qcacld-3.0: Remove unnecessary else in hdd_indicate_tsf_internal()
  qcacld-3.0: Fix long lines in wlan_hdd_power.c
  qcacld-3.0: Fix long lines in wlan_hdd_ipa.c
  qcacld-3.0: Fix long lines in wlan_hdd_main.h
  qcacld-3.0: Fix long lines in wlan_hdd_nan_datapath.c
  qcacld-3.0: Rename sap_restart_chan_switch_cb()
  qcacld-3.0: hdd: Replace typedef tSirBssDescription
  qcacld-3.0: Remove duplicate GET_IE_LEN_IN_BSS_DESC() macros
  qcacld-3.0: Rename struct sSirBssDescription
  qcacld-3.0: Add support for pdev_reset ioctl
  qcacld-3.0: hdd: Fix code indentation issues
  qcacld-3.0: hdd: Fix block comment issues
  qcacld-3.0: hdd: Remove unnecessary void function return statements
  qcacld-3.0: hdd: Add missing blank line after declarations
  Release 5.2.0.48J
  qcacld-3.0: Update the assoc reject status
  Release 5.2.0.48I
  qcacld-3.0: Use updated dfs public function
  Release 5.2.0.48H
  qcacld-3.0: Reduce log messages during scanning
  qcacld-3.0: pmo: Fix block comments
  qcacld-3.0: add error handling for cdp_soc_attach
  Release 5.2.0.48G
  qcacld-3.0: Prevent buffer overflow
  qcacld-3.0: Add host diag events for wow stats
  qcacld-3.0: Don't roam to 2G AP when 5G only configured
  Release 5.2.0.48F
  qcacld-3.0: Initialize the pmkid cache variable
  qcacld-3.0: Add device_mode check in hdd_ipa_send_pkt_to_tl
  qcacld-3.0: Reset limit off channel parameters after disconnection
  qcacld-3.0: Add debug logs for FW_RX_REFILL failure
  qcacld-3.0: Add 1 second timed wake lock for 4 way handshake
2017-10-12 20:40:48 -07:00
Suresh Nandini
433fbd4ced Revert "qcacld-3.0: Management MGMT TXRX component over HTT"
This reverts change id I013deb6e526fc0c99b1620a9d267063d1c3406f0

Change-Id: Ie2a0201a8d5f466fbf026f163efd4413ad5993a5
2017-10-12 20:37:30 -07:00
CNSS_WLAN Service
d60e451542 Merge "Release 5.2.0.48E" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:36 -07:00
CNSS_WLAN Service
428f5a53d5 Merge "qcacld-3.0: Add get string API for cfg_params" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:35 -07:00
CNSS_WLAN Service
0bf99e569d Merge "qcacld-3.0: Fix potential infinite loop in get_container_ies_len" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:33 -07:00
CNSS_WLAN Service
842374f420 Merge "qcacld-3.0: Resolve double free during cleanup of vdev request" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:32 -07:00
CNSS_WLAN Service
517c19f7c7 Merge "Release 5.2.0.48D" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:29 -07:00
CNSS_WLAN Service
a044184dc1 Merge "qcacld-3.0: Cleanup ununsed typedef in datapath" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:28 -07:00
CNSS_WLAN Service
17f208a215 Merge "qcacld-3.0: Flush the delayed acs work during adapter deinit" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:26 -07:00
CNSS_WLAN Service
4c115c1114 Merge "Release 5.2.0.48C" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:21 -07:00
CNSS_WLAN Service
0c31ab31b6 Merge "qcacld-3.0: Force SCC changes in non DBS mode" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:20 -07:00
CNSS_WLAN Service
88705abe43 Merge "Release 5.2.0.48B" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:18 -07:00
CNSS_WLAN Service
ba932e8b5e Merge "qcacld-3.0: Configure FW not to wakeup APPS for RRM action frame" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:17 -07:00
CNSS_WLAN Service
637fdaf607 Merge "qcacld-3.0: Remove BT coex in progress check" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:15 -07:00
CNSS_WLAN Service
06efc085f3 Merge "Release 5.2.0.48A" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:12 -07:00
CNSS_WLAN Service
4398d84c87 Merge "Revert "qcacld-3.0: Reset to NULL after freeing the memory"" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:11 -07:00
CNSS_WLAN Service
ac0a583c06 Merge "qcacld-3.0: Add check for wiphy band while populating it" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:10 -07:00
CNSS_WLAN Service
5f2fb3104d Merge "qcacld-3.0: Fix values for CFG_11AG_NUM_TX_CHAIN_NAME" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:09 -07:00
CNSS_WLAN Service
5d869cc7cc Merge "Release 5.2.0.48" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:06 -07:00
CNSS_WLAN Service
2cc191e130 Merge "qcacld-3.0: Save processed AUTH frames seq number in pe_session" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:04 -07:00
CNSS_WLAN Service
100ab347de Merge "Revert "qcacld-3.0: Add delay in sending open system auth frame"" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:03 -07:00
CNSS_WLAN Service
7dcedc7d4b Merge "qcacld-3.0: Set IPA ownership for intra-BSS Tx packets" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:02 -07:00
CNSS_WLAN Service
2d44577572 Merge "qcacld-3.0: add ini config for PTP options" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:02:00 -07:00
CNSS_WLAN Service
87bf283f7c Merge "Release 5.2.0.47Z" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:59 -07:00
CNSS_WLAN Service
a78c3ce22a Merge "qcacld-3.0: Avoid integer overflow in lim_update_ibss_prop_add_ies" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:58 -07:00
CNSS_WLAN Service
94b59d8cec Merge "Release 5.2.0.47Y" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:57 -07:00
CNSS_WLAN Service
15132a90b2 Merge "qcacld-3.0: Replace typedef tSirLedFlashingReq" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:56 -07:00
CNSS_WLAN Service
271f16e0f6 Merge "qcacld-3.0: Rename pBeaconIes" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:55 -07:00
CNSS_WLAN Service
7abc0eaeaf Merge "qcacld-3.0: hdd: Rename pRoamInfo" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:54 -07:00
CNSS_WLAN Service
5265c3b36b Merge "qcacld-3.0: sme: Rename pRoamInfo" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:52 -07:00
CNSS_WLAN Service
132915a076 Merge "qcacld-3.0: Rename pHddStaCtx" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:51 -07:00
CNSS_WLAN Service
125313862d Merge "qcacld-3.0: Rename pHostapdState" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:50 -07:00
CNSS_WLAN Service
88bee22e49 Merge "qcacld-3.0: Avoid auto phy mode for ini specific band" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:49 -07:00
CNSS_WLAN Service
cb21bfd7c8 Merge "Release 5.2.0.47X" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:46 -07:00
CNSS_WLAN Service
bcb1366e16 Merge "qcacld-3.0: Add support for set multicast filter command" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:45 -07:00
CNSS_WLAN Service
81bc0671b0 Merge "Release 5.2.0.47W" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:44 -07:00
CNSS_WLAN Service
fd7c7847a5 Merge "qcacld-3.0: Rename pHddApCtx" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:43 -07:00
CNSS_WLAN Service
6e2b097ea0 Merge "qcacld-3.0: Rename pHostapdAdapter" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:41 -07:00
CNSS_WLAN Service
3f92bcda78 Merge "qcacld-3.0: Fix bad block comment in wlan_hdd_scan.h" into wlan-cld3.driver.lnx.2.0-dev 2017-10-12 20:01:40 -07:00