summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* wifi: Add support for AP module argsSteve Kondik2015-10-263-0/+26
| | | | | | * Needed for Samsung's goofy handling of AP mode Change-Id: I5ec65460b7c9f8ef34170473cf1bdaa36587767b
* wifi: Choose correct nvram file on samsung hardwareRicardo Cerqueira2015-10-262-4/+43
| | | | Change-Id: I9d428ae61c1ce80d97e6ea513839ed64e8f61440
* audio: Make getPresentationPosition pure virtualEthan Chen2015-10-261-1/+1
| | | | | | * Allows compilation of libaudiohw_legacy static library Change-Id: I84c9ccb6cb3a6c744f83380cfe8c33ad5142eacf
* wifi: support adding p2p0 when starting wpa_supplicantRicardo Cerqueira2015-10-142-0/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For TI wlan chips in p2p mode we need this omapzoom cherry-pick to start p2p0 correctly. http://www.omapzoom.org/?p=platform/hardware/libhardware_legacy.git;a=commit;h=ccb4c24db795059f1df365d313d80c6b269bc55e By: Arik Nemtsov <arik@wizery.com> On: Tue, 31 Jul 2012 21:21:20 Original commit description: Add p2p0 using an NL80211 command when wpa_supplicant is started, and p2p_supported is enabled. Change-Id: Ibc0ad138513f024672642cc5764a81510aa38625 Signed-off-by: Hashcode <hashcode0f@gmail.com> From: Barak Bercovitz <barak@wizery.com> Date: Fri, 18 Oct 2013 12:41:32 +0300 Subject: [PATCH] wifi: remove p2p interface on supplicant stop wifi: remove p2p interface on supplicant stop remove p2p interface on wpa_supplicant stop so next time it is started it won't fail when trying to create p2p again Change-Id: I7a4c5e9a82a013afc75548d175d5850d67fcd927
* wifi: introduce wifi_fst moduleDedy Lansky2015-10-065-834/+183
| | | | | | | | | | | | | | | New wifi_fst module is responsible for: 1. insmod/rmmod of 2nd Wifi driver used for Fast Session Transfer (FST) rate upgrade. 2. start/stop FST Manager service. wifi_fst functionality is controlled by system property persist.fst.rate.upgrade.en. Existing module wifi.c calls into wifi_fst upon wifi_load/unload_driver and upon start/stop supplicant Change-Id: I8b4eddf26ab345b9e1e60e4850eaa081f8b89641
* wifi: duplicate wifi.c into wifi_fst.cDedy Lansky2015-10-062-0/+996
| | | | | | | Fast Session Transfer (FST) functionality will be added in wifi_fst in next commit Change-Id: Id6560ca437da3c9e794b450e10d979270303312b
* wifi: generalize ensure_config_file_exists()Dedy Lansky2015-10-062-6/+11
| | | | | | | ensure_config_file_exists gets config_file_template as argument instead of using hard coded SUPP_CONFIG_TEMPLATE Change-Id: I52b0c21d47254b5fa62e53ac71552d5dbfc445df
* merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-160-0/+0
|\
| * make wifi_load_driver blockingMaddest Chang2015-07-152-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | Modify wifi_load_driver behavior synchronize startHal with the initialization of the wlan driver. This makes sure that on certain solutions, startHal will does not fail due to no wlan0 net device not being found. Bug:19888853 Change-Id: Ic6ec2211431c478e52eb516c40ec23c2e8945fbb Signed-off-by: Maddest Chang <maddest.chang@mediatek.com> Signed-off-by: Iliyan Malchev <malchev@google.com>
* | Clean up bad command implementationJerry Lee2015-07-151-0/+1
| | | | | | | | | | | | | | b/22349265 Change-Id: I856a7d1fdfd9c0af42d2007d3b6235a38728bdbb Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
* | make wifi_load_driver blockingMaddest Chang2015-07-152-0/+48
|/ | | | | | | | | | | | Modify wifi_load_driver behavior synchronize startHal with the initialization of the wlan driver. This makes sure that on certain solutions, startHal will does not fail due to no wlan0 net device not being found. Bug:19888853 Change-Id: Ic6ec2211431c478e52eb516c40ec23c2e8945fbb Signed-off-by: Maddest Chang <maddest.chang@mediatek.com> Signed-off-by: Iliyan Malchev <malchev@google.com>
* Add wifi offload feature: mkeep_aliveJerryLee2015-06-242-0/+34
| | | | | | | b/21405946 Change-Id: Id8651f56d36d142772218defc9f9521dac82624a Signed-off-by: JerryLee <jerrylee@broadcom.com>
* Add a debuggability interface: stop loggingJerryLee2015-06-242-1/+2
| | | | | | | bug: 21730601 Change-Id: Ie92229023b76a5b4a8f5657543a0cd0cb8a19968 Signed-off-by: JerryLee <jerrylee@broadcom.com>
* Added RSSI monitor bitmaskAshwin2015-06-241-0/+1
| | | | | | | Reserved a bit for RSSI monitor feature in the feature bitmask Change-Id: Ied470f65c26bed25f7ccc4faa3ac8fbac1e74009 Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
* am e853591..90f8307 from mirror-m-wireless-internal-releaseVinit Deshpande2015-06-052-0/+52
|\ | | | | | | 90f8307 wifi hal definitions for keep alive packet offload and rssi monitoring
| * wifi hal definitions for keep alive packet offload and rssi monitoringPrerepa Viswanadham2015-06-031-0/+12
| | | | | | | | Change-Id: I37caa4696b2aac0f33ea9606eeeba174b6408f02
| * Adding API for setting LCI/LCR information.Amarnath Hullur Subramanyam2015-06-032-0/+40
| | | | | | | | Change-Id: I69c928e77b367b727ce50bb365754c6abfdb3126
* | am 1ee8d6b..e28e2bb from mirror-m-wireless-internal-releaseVinit Deshpande2015-05-133-335/+444
|\| | | | | | | | | | | | | | | | | e28e2bb Introduce REPORT_EVENTS_NO_BATCH flag for ePNO ddcab17 WifiLogger: Add new events and tags 1abb250 change wifi Logging header bd14c1c add pointers to new roaming HAL functions Change-Id: I4645ceb57de34109d417bc9b84ff6d2cb202a78d
| * Introduce REPORT_EVENTS_NO_BATCH flag for ePNOVinit Deshpande2015-05-111-5/+12
| | | | | | | | | | | | | | | | | | When GSscan and ePNO are being executed together, we don't want APs on additional channels from ePNO to be cached. Making this requirement explicit by adding REPORT_EVENTS_NO_BATCH flag on bucket. Change-Id: I61dcd608d3be8acb697508607dbe5077ebe836c0
| * WifiLogger: Add new events and tagsAmarnath Hullur Subramanyam2015-05-071-18/+49
| | | | | | | | | | | | | | | | As part of the Debug Framework development new events and tags are required in G_SCAN. Additional generic tags are also being added to support various events. Change-Id: Ia5bc8dc1a5310818c3fcf3f9e166ffc5341f032c
| * change wifi Logging headerJerry Lee2015-05-052-332/+389
| | | | | | | | | | | | | | | | Allocate the memory at JNI layer. Thus, instead pass down ** , pass * down Bug:20853404 Change-Id: I27cb2900989fb4f8261dc6e3283af101422d2ea7
| * add pointers to new roaming HAL functionsPierre Vandwalle2015-05-021-0/+10
| | | | | | | | Change-Id: I5094f7921018f0e8e1b6171e3b88ead9d00f95af
| * HAL changes for ANQPOChilam Ng2015-04-291-0/+3
| | | | | | | | | | Change-Id: I60d418ec43beb4bb19e999634c5c3beecb476172 Signed-off-by: Chilam Ng <chilam@broadcom.com>
* | power.c: add O_CLOEXEC on wakelocksNick Kralevich2015-05-081-1/+1
| | | | | | | | | | | | | | | | | | Ensure that FDs associated with /sys/power/wake_lock and /sys/power/wake_unlock are closed on exec. (cherrypicked from b3624b26b2a55f33326c794565dd07d5078c655c) Change-Id: Ia2c8937cf6a1fdd6564fad4785642934c805cf22
* | wlan: Fix comparison of driver_status when loading driverAjay Dudani2015-05-051-1/+1
| | | | | | | | | | | | | | Ensure wifi driver load failure status is compared with valid string which has the failure/success information. Change-Id: I3b619ad0c005fb793d127bd2a23b376ed961d0b7
* | Merge commit '7f8da1e' into master_mergePrerepa Viswanadham2015-05-010-0/+0
|\|
| * Fix halutil build error [DO NOT MERGE]xinhe2015-04-241-2/+17
| | | | | | | | Change-Id: I3b4b90b6e4c99e7ace23998d439465c037deaadc
* | Merge commit '778ad70' into master_mergePrerepa Viswanadham2015-05-012-12/+30
|\| | | | | | | Change-Id: I2928bb3e4c82d13caf3a1cd4b15f1d17969a610d
| * TDLS enhancement HAL interface updatexinhe2015-04-222-12/+30
| | | | | | | | | | Bug:15152152 Change-Id: I8432177ac457c6559cf2c0d2a8bbc8ea8773a2a9
* | Fix halutil build errorxinhe2015-04-241-0/+15
| | | | | | | | Change-Id: I3b4b90b6e4c99e7ace23998d439465c037deaadc
* | am 93d458f..93d458f from mirror-m-wireless-internal-releaseVinit Deshpande2015-04-142-23/+35
|\| | | | | | | 93d458f change wifi_logger header file
| * change wifi_logger header fileeccopark@broadcom.com2015-04-102-23/+35
| | | | | | | | | | | | | | | | | | | | | | | | 1) add wifi_set_alert_handler for the alert case 2) add wifi_set_log_handler for the ring data 3) remove unnecessary wifi_request_id for set commands 4) change to use ring_name instead of ring_id. 5) add wifi_reset_alert_handler add wifi_reset_log_handler Change-Id: Ia9aaba050196af6684191cdcdfb0c1d21e917ed2 Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
* | Merge commit 'b4442c3' into merge_workPrerepa Viswanadham2015-04-101-72/+135
|\|
| * enhancements to rtt.hKevin Tang2015-04-061-72/+135
| | | | | | | | | | Bug:19917983 Change-Id: Iebbc60f52b38875f661314908b72d17354f76b20
* | Merge commit 'e22ec31' into merge_workPrerepa Viswanadham2015-04-100-0/+0
|\|
| * Wifi HAL should not require stubs for all functions [Do not merge]xinhe2015-04-032-1/+48
| | | | | | | | | | Bug:19949178 Change-Id: Icd0352aa5bb0fd0d6a686926294b76c7000154d0
* | Merge commit 'f0973c8' into merge_workPrerepa Viswanadham2015-04-101-3/+3
|\|
| * fix type in header filePierre Vandwalle2015-04-011-3/+3
| | | | | | | | Change-Id: I829bf99c1c84b7474a85b4cd0dbe325f9ff22990
* | Merge commit '2cae13a' into merge_workPrerepa Viswanadham2015-04-101-5/+7
|\|
| * Preallocating max buffer size for scan_result in wifi_cached_scan_resultsAmarnath Hullur Subramanyam2015-03-281-5/+7
| | | | | | | | | | | | | | | | | | Android framework should provide a buffer to the wifihal which needs to be filled with scan_result. This commit will ensure that would happen by passing a fixed max buffer size as part of each wifi_cached_scan_results. Change-Id: I005dd39f26be62694c46369e16d5f7f89f64021d
* | Fix master build breakxinhe2015-04-011-1/+1
| | | | | | | | Change-Id: I1f73293bc986a50b4bb6c976132bf50c3c557141
* | Merge "Merge commit '4c50959717fcf4b5bf10721b4dda0d2c2f423eaf' into merge"Etan Cohen2015-04-022-27/+63
|\ \
| * | Merge commit '4c50959717fcf4b5bf10721b4dda0d2c2f423eaf' into mergeEtan Cohen2015-03-303-29/+64
| |\|
| | * Merge "HAL API to offload passpoint match to wifi chipset" into m-wireless-devVinit Deshpande2015-03-271-0/+26
| | |\
| | | * HAL API to offload passpoint match to wifi chipsetVinit Deshpande2015-03-271-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces wifi_set_passpoint_list and wifi_reset_passpoint_list which implement the functionality of offloading passpoint match to the chipset firmware. Change-Id: I8a3730d4e23891b1dce47b8cf877e9b3c04ac279
| | * | net: wireless change the header of Loggereccopark@broadcom.com2015-03-271-3/+9
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) add the request_id in wifi_get_logger_supported_feature_set 2) Change the wifi_get_firmware_memory_dump API 1) Normally the size of firmware dump is 700KB. Thus, Driver cannot send the data in one time because of limitation of skb length. In order to send such big data from kernel Driver, we need to send data using event continuously until we send the memory dump completely. In the event handler of hal, it will allocate the big buffer to store the data. Once event handler copy the data completely, event handler will call the function callback(on_firmware_memory_dump). So, upper layer has to free the buffer after handling the buffer. Change-Id: If80b03ec8bd9349d952743e17a001c04096aac95 Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
| | * net: wireless change the Header for Loggereccopark@broadcom.com2015-03-251-24/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) define entry type for parsing the data easily. 2) the payload will be attached at end of the wifi_ring_buffer_entry 3) added the feature set 4) remove duplicate wifi_get_ring_data 5) add request_id in wifi_start_logging 6) change the pointer of buffer to double pointer of buffer in wifi_get_ring_buffers_status and wifi_get_firmware_memory_dump wifi_get_firmware_version and wifi_get_driver_version to indicate the buffer supplied by Application layer Change-Id: I5dc2811155e7efa058a0c3414036461de3e45d98 Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
| | * adjust gscan and wifi_logger headersPierre Vandwalle2015-03-252-2/+2
| | | | | | | | | | | | Change-Id: I43105fe14b1a5511045998ea1cbf4e275a6faf36
| | * add Framework for set country code through HALxinhe2015-03-231-2/+1
| | | | | | | | | | | | | | | Bug:19896389 Change-Id: I14cd2f039bda08f72dd8386e43ce8b65ce417614
* | | Merge "Add general stubs for wifi hal"xinhe2015-04-022-3/+47
|\ \ \