Commit Graph

4589 Commits

Author SHA1 Message Date
Manjunathappa Prakash
8623d30b4f qcacld-3.0: Do not free skb in OL if ce_send_fast failed
Return failure if ce_send_fast fails and let caller, HDD free the Tx msdu.
If it happens to be TSO segment then free the to be trasmited TSO segments.

Change-Id: If3a16ca841e63e7941fe732013d3b3c351a4a286
CRs-Fixed: 2004780
2017-04-11 12:40:08 -07:00
Sandeep Puligilla
ecefc07b73 Release 5.2.0.20X
Release 5.2.0.20X

Change-Id: I25660bf349af04e8f3cab8cddf818bfa256a3c45
CRs-Fixed: 774533
2017-04-11 11:17:07 -07:00
Arunk Khandavalli
fbc1ef059c qcacld-3.0: cds_sched close should not invoked as part of startup failure
cds_sched_open is invoked as part of hdd_wlan_start_modules and in case
of failure the cds_sched_close depending on the driver_State should
be closed as part of hdd_wlan_start_modules failure.

When the driver loads during the low memory condtion and if there
is any failure in the hif_open or cds_open start_modules returns
failure and as part of the failure cleanup cds_sched_close is getting
invoked which is waiting on completion for couple of events which
will not be set.

To mitigate the issue donnot invoke the cds_sched_close clean up during
the startup.

Change-Id: I51c67e7c723a06a8270c424f7e16ea45c6cd4012
CRs-Fixed: 2019986
2017-04-11 11:17:06 -07:00
Sandeep Puligilla
606e1cb24b Release 5.2.0.20W
Release 5.2.0.20W

Change-Id: I02be0b05af08c9daa7e1d0dfd303e096ec5141d3
CRs-Fixed: 774533
2017-04-11 08:41:27 -07:00
Kapil Gupta
fa9a8c6269 qcacld-3.0: Add changes to add chan stats flag based on config
Currently driver is not sending channel stats flag in scan even
if gEnableSNRMonitoring configuation is enabled.

Add changes to add WMI_SCAN_CHAN_STAT_EVENT in scan flag if
gEnableSNRMonitoring is enabled

CRs-Fixed: 2031304
Change-Id: Ibc887f1030c86441aa7b3ccbddfcc3bb30c8640a
2017-04-11 08:41:26 -07:00
Sandeep Puligilla
e68624673e Release 5.2.0.20V
Release 5.2.0.20V

Change-Id: I2a3505d2506bb1297517eb3f5d2e55ba3e0f2f55
CRs-Fixed: 774533
2017-04-11 08:01:44 -07:00
Ashish Kumar Dhanotiya
4da37920f4 qcacld-3.0: Check for validity of country code
Check for validity of country code coming from hostapd configuration.
If hostapd country code is not valid; SAP may stop since invalid country
code lead to setting of world reg-domain.Also program the default country
code after wiphy is initialized, rather than when an interface is turned on.

Change-Id: Iefc250df741a95cc4b21bdd4fe7e4c076fdf3b06
CRs-Fixed: 2029127
2017-04-11 08:01:44 -07:00
Sandeep Puligilla
733c156e29 Release 5.2.0.20U
Release 5.2.0.20U

Change-Id: Ibceea6c12e5fc6c0b45517719a78ed979bf3e09a
CRs-Fixed: 774533
2017-04-11 04:16:42 -07:00
bings
6028ee8b41 qcacld-3.0: Do not access target register in driver unloading
qcacld-2.0 to qcacld-3.0 propagation

Crash happens when driver continues to access target register in
ol_target_failure when driver is unloading.

If rmmod happens firstly, do nothing in ol_target_failure in ssr.
If ssr happens firstly, wait for ssr finish in rmmod.

Change-Id: I2a4980b6cd4b689da07c34f2acdfaafbbb0715bb
CRs-Fixed: 2025585
2017-04-11 04:16:41 -07:00
bings
e278238ac1 qcacld-3.0: Fix channel weight in sap_sort_chl_weight_all
qcacld-2.0 to qcacld-3.0 propagation

Currently if acs configs channel width as 40/80MHZ, it may select
invalid channel as its second channel.
When doing sap_select_channel, if acs configs channel width as
40/80MHZ, every candidate channel and its adjacent channel should
be checked whether it can satisfy 40/80MHZ or not. Mark the weight
of the channel that can't satisfy 40/80MHZ as max value
in sap_sort_chl_weight_all, so it will not be selected.

Change-Id: I69abbb752be8d0fae2644a9000156735048d6d16
CRs-Fixed: 1085469
2017-04-11 04:16:40 -07:00
Sandeep Puligilla
cbc223c9c6 Release 5.2.0.20T
Release 5.2.0.20T

Change-Id: Ibc1979b0474269695308af0ad6e4302300c39401
CRs-Fixed: 774533
2017-04-11 01:34:35 -07:00
Srinivas Girigowda
e3ae257e2e qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_tx_rx.c
Fix kernel checkpatch warnings in wlan_hdd_tx_rx.c.

Change-Id: I6f0cb09af38ab5ca6fb8a511815e004a1cd71372
CRs-Fixed: 2024274
2017-04-11 01:34:34 -07:00
Srinivas Girigowda
557d2e4a40 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_stats.c
Fix kernel checkpatch warnings in wlan_hdd_stats.c.

Change-Id: I1c6f5e5275e4972703d773fdf50bbbd711eef94b
CRs-Fixed: 2024274
2017-04-11 01:34:32 -07:00
Srinivas Girigowda
91a6b6371e qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_ioctl.c
Fix kernel checkpatch warnings in wlan_hdd_ioctl.c.

Change-Id: I2c716681e360520fdf7d0097756b2a366c4fe7c0
CRs-Fixed: 2024274
2017-04-11 01:34:28 -07:00
Srinivas Girigowda
85218af8fd qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_main.h
Fix kernel checkpatch warnings in wlan_hdd_main.h.

Change-Id: I3e93ce6073b7ea70f1e471e6ac4beded90999bf7
CRs-Fixed: 2024274
2017-04-11 01:34:26 -07:00
Srinivas Girigowda
cf2d0afe5e qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_ext_scan.c
Fix kernel checkpatch warnings in wlan_hdd_ext_scan.c.

Change-Id: I1632961a9af5692c607e955df5820a47d27d3241
CRs-Fixed: 2024274
2017-04-11 01:34:24 -07:00
Srinivas Girigowda
388dea84fc qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_tsf.c
Fix kernel checkpatch warnings in wlan_hdd_tsf.c.

Change-Id: I992e7f3cd9540934128d6c26642dc279e99dbada
CRs-Fixed: 2024274
2017-04-11 01:34:22 -07:00
Srinivas Girigowda
c16ba6dfd0 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_ipa.c
Fix kernel checkpatch warnings in wlan_hdd_ipa.c.

Change-Id: Id24d635630d95197d31a002d2d901becc8522227
CRs-Fixed: 2024274
2017-04-11 01:34:19 -07:00
Srinivas Girigowda
e806a829e5 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_softap_tx_rx.c
Fix kernel checkpatch warnings in wlan_hdd_softap_tx_rx.c.

Change-Id: I816fb9b7df30e154eb348f88b7ebd0f75ba77fc3
CRs-Fixed: 2024274
2017-04-11 01:34:17 -07:00
Srinivas Girigowda
75af3d1370 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_oemdata.c
Fix kernel checkpatch warnings in wlan_hdd_oemdata.c.

Change-Id: I44512b16fde2e692d34bf5f983323f450bd09238
CRs-Fixed: 2024274
2017-04-11 01:34:15 -07:00
Srinivas Girigowda
aaea410f93 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_ocb.c
Fix kernel checkpatch warnings in wlan_hdd_ocb.c.

Change-Id: Ia590b1a2de67eb9302e544abe7e9a6cc5970367e
CRs-Fixed: 2024274
2017-04-11 01:34:13 -07:00
Srinivas Girigowda
289457d898 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_tx_rx.h
Fix kernel checkpatch warnings in wlan_hdd_tx_rx.h.

Change-Id: Idbda778a8d22b31ddd5657d116c035f202e998af
CRs-Fixed: 2024274
2017-04-11 01:34:11 -07:00
Srinivas Girigowda
5c9dfe4656 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_lro.h
Fix kernel checkpatch warnings in wlan_hdd_lro.h.

Change-Id: Idaec566829ed61c0e349c970f4b34f38a825f7d5
CRs-Fixed: 2024274
2017-04-11 01:34:08 -07:00
Srinivas Girigowda
077143e14b qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_host_offoad.h
Fix kernel checkpatch warnings in wlan_hdd_host_offload.h.

Change-Id: I2811b8a757d6b42c9a798435dbdc7aaf7e5bfede
CRs-Fixed: 2024274
2017-04-11 01:34:06 -07:00
Srinivas Girigowda
3457a515da qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_ipa.h
Fix kernel checkpatch warnings in wlan_hdd_ipa.h.

Change-Id: I4a2429957b25981696581e8ea94a21a1bb3e3c67
CRs-Fixed: 2024274
2017-04-11 01:34:04 -07:00
Srinivas Girigowda
609fa84411 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_trace.h
Fix kernel checkpatch warnings in wlan_hdd_trace.h.

Change-Id: Ic95f1b1654856b7ed8fab1bd30eacf6d08971190
CRs-Fixed: 2024274
2017-04-11 01:34:01 -07:00
Srinivas Girigowda
ad005ab6de qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_tsf.h
Fix kernel checkpatch warnings in wlan_hdd_tsf.h.

Change-Id: I6b869b07e13b8dcaac8ae8d8b00b2592fb5f80b2
CRs-Fixed: 2024274
2017-04-11 01:33:59 -07:00
Srinivas Girigowda
caac83feac qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_oemdata.h
Fix kernel checkpatch warnings in wlan_hdd_oemdata.h.

Change-Id: Ic280113327e24a8934b0895c12b39ed7b4f73df6
CRs-Fixed: 2024274
2017-04-11 01:33:57 -07:00
Srinivas Girigowda
ea32d6a61b qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_wmm.h
Fix kernel checkpatch warnings in wlan_hdd_wmm.h.

Change-Id: I813fc4adc3f1661b76481f8df6d073d27550a5d6
CRs-Fixed: 2024274
2017-04-11 01:33:55 -07:00
Srinivas Girigowda
8711c74737 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_softap_tx_rx.h
Fix kernel checkpatch warnings in wlan_hdd_softap_tx_rx.h.

Change-Id: Iaadb26e3f46d97aa4ac2f7b7640a27acf6fe1475
CRs-Fixed: 2024274
2017-04-11 01:33:51 -07:00
Srinivas Girigowda
fa48ab8ddb qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_stats.h
Fix kernel checkpatch warnings in wlan_hdd_stats.h.

Change-Id: Iaa5c38be90aec91b090170bb89f0a843c7aea399
CRs-Fixed: 2024274
2017-04-11 01:33:49 -07:00
Sandeep Puligilla
26095394d3 Release 5.2.0.20S
Release 5.2.0.20S

Change-Id: I1d93d7bf86e8fa95f413a54e10c2499a0645f77a
CRs-Fixed: 774533
2017-04-11 00:17:00 -07:00
Manikandan Mohan
41e2d6f933 qcacld-3.0: Fix for memory leaks in multiple functions
1)  Fix for memory leaks lim management frame registration queue by
    unconditionally removing all nodes from queue and releasing the
    node pointer. This need to be done for FTM mode also.

2) Free u_mac_post_ctrl_msgu_mac_post_ctrl_msg in the error cases.

3) In wma_tx_packet(), free tx_frame memory in error cases.

Change-Id: Idbae6b2666d38d0f130d0115e5a05387c0b63c31
CRs-fixed: 2027588
2017-04-11 00:16:59 -07:00
Sandeep Puligilla
85d8f9b5d7 Release 5.2.0.20R
Release 5.2.0.20R

Change-Id: I511465bc7dc29f421209d1db14b4325b9ce2d6b0
CRs-Fixed: 774533
2017-04-10 23:22:26 -07:00
Ashish Kumar Dhanotiya
e16feb7622 qcacld-3.0: Apps crash due to invalid wiphy check during unload
Wiphy is not getting unregister at the time of unload because of
that kernel has stale pointer which is causing a crash.

Add a proper check for wiphy during unload and unregister the wiphy.

Change-Id: Ibbdc3966f37bc628552c0118297f82065fa04d46
CRs-Fixed: 2027470
2017-04-10 23:22:26 -07:00
Ashish Kumar Dhanotiya
aa2b17c8d8 qcacld-3.0: Handle SSR Reinit failure gracefully
Presently on the re-init failure when the driver tries
to unregister the wiphy during the re_init failure
SSR timeout happens because the wiphy_unregister
would be waiting on the interface opencount to be set
to 0, it would happen only if the netdevice's are de-registered
with the kernel before wiphy_unregister

De-register the interfaces during the reinit failure so that
upper layer is blocked from accessing the driver and also have
a clean rmmod of the driver.

Change-Id: I3d97df19f6c59fcfd1d423d5cc4eae85040d4a97
CRs-Fixed: 2019989
2017-04-10 23:22:24 -07:00
Sandeep Puligilla
1263bc1b66 Release 5.2.0.20Q
Release 5.2.0.20Q

Change-Id: I5d021bacd22d1f1352b7b42d600b697c57154ab9
CRs-Fixed: 774533
2017-04-10 22:17:51 -07:00
Srinivas Girigowda
bfb10474c5 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_includes.h
Fix kernel checkpatch warnings in wlan_hdd_includes.h.

Change-Id: I458da39f09fd7825c75cae32bab9c5468d605a57
CRs-Fixed: 2024274
2017-04-10 22:17:50 -07:00
Srinivas Girigowda
682a16b09d qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_scan.h
Fix kernel checkpatch warnings in wlan_hdd_scan.h.

Change-Id: Ib1f7b847c8210dbc76c1f5937e7caa809fe11e2a
CRs-Fixed: 2024274
2017-04-10 22:17:48 -07:00
Srinivas Girigowda
08e6636330 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_nan.c
Fix kernel checkpatch warnings in wlan_hdd_nan.c.

Change-Id: Id5b9abbc57e7f42dc2703d82c947c6c5978736db
CRs-Fixed: 2024274
2017-04-10 22:17:45 -07:00
Srinivas Girigowda
ef3278097e qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_p2p.c
Fix kernel checkpatch warnings in wlan_hdd_p2p.c.

Change-Id: I1eee322d7ded1b646023d7e103f469023cf6a4fe
CRs-Fixed: 2024274
2017-04-10 22:17:43 -07:00
Srinivas Girigowda
5d5fdc5c31 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_p2p.h
Fix kernel checkpatch warnings in wlan_hdd_p2p.h.

Change-Id: Ic9217ecf3a137ced528bf7dac9f6401a05fafda4
CRs-Fixed: 2024274
2017-04-10 22:17:41 -07:00
Srinivas Girigowda
df88faa15c qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_hostapd.c
Fix kernel checkpatch warnings in wlan_hdd_hostapd.c.

Change-Id: Ic10dfe4b2612323db0ffba290f32745400b6c168
CRs-Fixed: 2024274
2017-04-10 22:17:38 -07:00
Srinivas Girigowda
fba82a0f50 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_wext.c
Fix kernel checkpatch warnings in wlan_hdd_wext.c.

Change-Id: I199fb53f09fb8a03b071259a69041ee91d43b91b
CRs-Fixed: 2024274
2017-04-10 22:17:36 -07:00
Srinivas Girigowda
c231df6f31 qcacld-3.0: Fix kernel checkpatch warnings in qc_sap_ioctl.h
Fix kernel checkpatch warnings in qc_sap_ioctl.h. As a part of
checkpatch warnings remove the unused structures/enums.

Change-Id: I0144c3cf2d40c115d4965cd0e230c928c710f82a
CRs-Fixed: 2024274
2017-04-10 22:17:33 -07:00
Srinivas Girigowda
cd67e7147f qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_napi.c
Fix kernel checkpatch warnings in wlan_hdd_napi.c.

Change-Id: Ie368668c2696bc76a8e6fbb0d7a883f2b13ad0c3
CRs-Fixed: 2024274
2017-04-10 22:17:31 -07:00
Srinivas Girigowda
e41bffee1f qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_lro.c
Fix kernel checkpatch warnings in wlan_hdd_lro.c.

Change-Id: I99ce2f7b0a246afb9d1f0e3be0a898436dfa5ece
CRs-Fixed: 2024274
2017-04-10 22:17:29 -07:00
Sandeep Puligilla
627f1f552b Release 5.2.0.20P
Release 5.2.0.20P

Change-Id: Ie31aadfb38350c582af8d09b392f3388104d7708
CRs-Fixed: 774533
2017-04-10 04:47:08 -07:00
Himanshu Agarwal
7d367c124d qcacld-3.0: Add ref_cnt implementation for flow pool
Add ref_cnt implementation for flow pool to synchronize
usage and deletion of flow pool.

Change-Id: Idb52c74df6a771b776e3df6bf4aea5c150b5fc7a
CRs-Fixed: 2025757
2017-04-10 16:29:26 +05:30
Sandeep Puligilla
6c02402e59 Release 5.2.0.20O
Release 5.2.0.20O

Change-Id: I17fe09a984417278d9741f00ce9194ce0c65ac30
CRs-Fixed: 774533
2017-04-10 03:27:11 -07:00