summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Properly handle missing firmwaresHEADreplicant-6.0Paul Kocialkowski2017-06-131-0/+136
| | | | | Change-Id: I33e9f2fd201834ebe5a0cd0255913aaf463e01d4 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* libhardware_legacy: Add MSM specific flags, devices and channels.Pavan Chikkala2016-03-181-6/+50
| | | | | | - Add support for MSM flags, devices and channels Change-Id: I591747e7a82aa937016f49bb31bb24c9f1498d97
* wifi: Ensure supplicant stopped in wifi_stop_supplicantHu Wang2016-02-021-1/+2
| | | | | | | | | | | | | | | | Commit 3674b8ab31a628c5d0834890ba3549bf8badf4ea introduces the wifi_fst module, with a coding mistake, wifi_stop_supplicant will return even supplicant is not really stopped. If wifi_start_supplicant is called immediately, race condition will happen in init process, which makes supplicant not start. This change is to ensure supplicant really stopped before wifi_stop_supplicant return. CYNGNOS-1833, SAMBAR-1266 Change-Id: Ibcf38023a57971ad6e3064b7ab2a98a7a0ed8b99 CRs-Fixed: 958819
* wifi: add semco for Samsung BCM43569Christopher N. Hesse2015-10-261-0/+3
| | | | Change-Id: Iadafcc9a21c8fcedded1a06ace33759ad006b5ec
* wifi: add a new "loading" stateMichaƫl Burtin2015-10-261-0/+2
| | | | | | | Set wlan.driver.status to "loading" in wifi_load_driver to allow external action being triggered by property change. Change-Id: Ia4363de4c4e0e1a1c4759f5699fd5ea6e1bc3182
* wifi: add suport for WIFI_EXT_MODULEjerpelea2015-10-262-1/+31
| | | | | | | | | | | | | Some wifi modules have dependencies on others (for SDIO, usually). Use WIFI_EXT_MODULE_PATH to specify such dependencies Change-Id: Ie8e746c1e69712be78d420d8e8ae8b015564a03d Conflicts: wifi/wifi.c Change-Id: I3fbc0065f76d91d170fb562159ea326caa4f3345
* uevent: Allow multiple uevent listeners from the same processDiogo Ferreira2015-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The netlink socket created by uevent_init sets the nl_pid to the current PID. nl_pid must be unique per-process, however it does not have to do with the PID. From the documentation: " For a user-space process, nl_pid is usually the PID of the process owning the destination socket. However, nl_pid identifies a netlink socket, not a process. If a process owns several netlink sockets, then nl_pid can be equal to the process ID only for at most one socket. " In use cases where a single process calls uevent_init more than one time, the second one will always fail. This patch sets the nl_pid to 0, which lets the kernel pick its own unique identifier as per the documentation: " If the application sets it to 0, the kernel takes care of assigning it. The kernel assigns the process ID to the first netlink socket the process opens and assigns a unique nl_pid to every netlink socket that the process subsequently creates. " The behavior stays the same for the first socket but will also succeed in subsequent calls. Change-Id: I6fa74adc9d5835ff39b86187799998111fc12001 (cherry picked from commit 6dcd02055aaa2ce1e7132d5886557a7a5be6571f)
* wifi: add support for semcosh nvramEthan Chen2015-10-261-0/+3
| | | | Change-Id: I272607b2835c5df97b8e175a9bcd559b3ec1a105
* wifi: fix samsung wifi logiccodeworkx2015-10-261-7/+4
| | | | Change-Id: Ib065c0dffa1265a17f5e4fd6ec0b0ad36bbc7b14
* 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