calibrator: i/f fixes: add TxTone command
Also add range validation for speicific parameters and fix parameters
description.
[Arik - formatting fixes]
Signed-off-by: Kobi Leibovich <kobile@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Also add range validation for speicific parameters and fix parameters
description.
[Arik - formatting fixes]
Signed-off-by: Kobi Leibovich <kobile@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
fix scan configuration mismatch, and change version
the upstream code uses min(max)_dwell_time/min(max)_dwell_time_long
instead of the current min(max)_dwell_time_conc/min(max)_dwell_time
(the meaning the standard dwell_time was changed).
update conf.h accordingly, and update the version as well.
Signed-off-by: Eliad Peller <eliad@wizery.com>
the upstream code uses min(max)_dwell_time/min(max)_dwell_time_long
instead of the current min(max)_dwell_time_conc/min(max)_dwell_time
(the meaning the standard dwell_time was changed).
update conf.h accordingly, and update the version as well.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Fix on MAC setting in NVS file
Many HW platform will not allow accessing unsigned int values in odd
addresses, so you should pass to a sscanf with %x format a pointer to
a unsigned int value. Bug detected on a Samsung's S3C2416 based
platform.
Signed-off-by: José Miguel Gonçalves <jose.goncalves@inov.pt>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Many HW platform will not allow accessing unsigned int values in odd
addresses, so you should pass to a sscanf with %x format a pointer to
a unsigned int value. Bug detected on a Samsung's S3C2416 based
platform.
Signed-off-by: José Miguel Gonçalves <jose.goncalves@inov.pt>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Merge branch 'mc_internal' of git://github.com/TI-OpenLink/18xx-ti-utils
Conflicts:
Android.mk
hw/firmware/wl127x-fw-4-mr.bin
hw/firmware/wl127x-fw-4-plt.bin
hw/firmware/wl127x-fw-4-sr.bin
hw/firmware/wl128x-fw-4-mr.bin
hw/firmware/wl128x-fw-4-plt.bin
hw/firmware/wl128x-fw-4-sr.bin
hw/fw_logger/wl12xx-fw-4-mr.ili
hw/fw_logger/wl12xx-fw-4-sr.ili
wl_logproxy.c
Signed-off-by: Luciano Coelho <coelho@ti.com>
Conflicts:
Android.mk
hw/firmware/wl127x-fw-4-mr.bin
hw/firmware/wl127x-fw-4-plt.bin
hw/firmware/wl127x-fw-4-sr.bin
hw/firmware/wl128x-fw-4-mr.bin
hw/firmware/wl128x-fw-4-plt.bin
hw/firmware/wl128x-fw-4-sr.bin
hw/fw_logger/wl12xx-fw-4-mr.ili
hw/fw_logger/wl12xx-fw-4-sr.ili
wl_logproxy.c
Signed-off-by: Luciano Coelho <coelho@ti.com>
11 years agoini: add basic WL8_System_parameters.ini mc_internal R8.xx_Build-265 R8.xx_Build-266 R8.xx_Build-267 R8.xx_Build-268 R8.xx_Build-269 R8.xx_Build-270 R8.xx_Build-271 R8.xx_Build-272 R8.xx_Build-273 R8.xx_Build-274 R8.xx_Build-275 R8.xx_Build-279 R8.xx_Build-280 R8.xx_Build-281 R8.xx_Build-282 R8.xx_Build-283 R8.xx_Build-284 R8.xx_Build-285 R8.xx_Build-286 R8.xx_Build-287 R8.xx_Build-288 R8.xx_Build-289 R8.xx_Build-290 R8.xx_Build-291 R8.xx_Build-292 R8.xx_Build-293 R8.xx_Build-294 R8.xx_Build-295 R8.xx_Build-296 R8.xx_Build-297 R8.xx_Build-302 R8.xx_Build-304 R8.xx_Build-305 R8.xx_Build-306 R8.xx_Build-307 R8.xx_Build-308 R8.xx_Build-309 R8.xx_Build-310 R8.xx_Build-311 R8.xx_Build-312 R8.xx_Build-313 ol_r8.a5.15 ol_r8.a6.01 ol_r8.a6.02 ol_r8.a6.06
ini: add basic WL8_System_parameters.ini
Add single basic INI file and remove others.
testing_set_wlcore.sh script modifies this parameters of basic file
according to board type and HT mode (hdk/com8 and mimo/siso20/siso40)
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Add single basic INI file and remove others.
testing_set_wlcore.sh script modifies this parameters of basic file
according to board type and HT mode (hdk/com8 and mimo/siso20/siso40)
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
update firmwares: SR: X.3.10.0.136 MR: X.5.7.0.46
Victoria Rev 6.3.10.0.136/Rev 7.3.10.0.136 - Shahar
- Enable CoEx to work with A2DP SINK (taken from MCP Tree) - this is
supported for WL7 Only
- Enable CoEx to work with A2DP when the WLAN is in AP Based Role
Victoria Rev 6.5.7.0.46 / 7.5.7.46 - Shahar
- Fix bug when working in MR, and the AP role is hidden, we did not
answers to Probe Req
Signed-off-by: Eyal Reizer <eyalr@ti.com>
Victoria Rev 6.3.10.0.136/Rev 7.3.10.0.136 - Shahar
- Enable CoEx to work with A2DP SINK (taken from MCP Tree) - this is
supported for WL7 Only
- Enable CoEx to work with A2DP when the WLAN is in AP Based Role
Victoria Rev 6.5.7.0.46 / 7.5.7.46 - Shahar
- Fix bug when working in MR, and the AP role is hidden, we did not
answers to Probe Req
Signed-off-by: Eyal Reizer <eyalr@ti.com>
update firmwares: SR: X.3.10.0.135 MR: X.5.7.0.45
SR:
6.3.10.0.135 / 7.3.10.0.135
- SoftGemini - Restore of the DTIM Priority to avoid missed beacons
- fix BA session tear down when there are fragments
- Protection from including fragments into an AMPDU aggregation
- SoftGemini - Reduce BLE Priority incase of WLAN RX rate drop to 1M with Long frames to avoid WLAN Disconnect
- Remove some traces to save code RAM
6.3.10.0.134 / 7.3.10.0.134
- Fix beacons in AP mode that where program to be send before command stop role occurred
- Fix SP and tx of NULL frame in STA role while AP disappears
- Trace in basic scan to indicate whether active or passive scan is running to HEX.
- Added G trace indicates BSS Out Of Sync.
- Logger Fixes.
- Fixing the sensitivity of the device (1-2dB), on some modules, on high rates
MR:
6.5.7.0.45 / 7.5.7.0.45
- fix BA session tear down when there are fragments
- Protection from including fragments into an AMPDU aggregation
6.5.7.0.44 / 7.5.7.0.44
- Fix beacons in AP mode that where program to be send before command stop role occurred
- Fix SP and tx of NULL frame in STA role while AP disappears
- Trace in basic scan to indicate whether active or passive scan is running to HEX.
- Added G trace indicates BSS Out Of Sync.
- Logger Fixes.
- Fixing the sensitivity of the device (1-2dB), on some modules, on high rates
- Starting from this version, Trio supports only 7 peers derived from S memory limitation
6.5.7.0.43 / 7.5.7.0.43
- Fix MR GO+Sta: Recovery due to Tx stuck/Scan Complete in FW and then after disconnecting P2P Client.
- Logger Fix- Add zero mem for logger over SDIO in case memblock is full and there are several bytes remained
- Adding debug information - the option to read the process/general stack and IRQ history
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
SR:
6.3.10.0.135 / 7.3.10.0.135
- SoftGemini - Restore of the DTIM Priority to avoid missed beacons
- fix BA session tear down when there are fragments
- Protection from including fragments into an AMPDU aggregation
- SoftGemini - Reduce BLE Priority incase of WLAN RX rate drop to 1M with Long frames to avoid WLAN Disconnect
- Remove some traces to save code RAM
6.3.10.0.134 / 7.3.10.0.134
- Fix beacons in AP mode that where program to be send before command stop role occurred
- Fix SP and tx of NULL frame in STA role while AP disappears
- Trace in basic scan to indicate whether active or passive scan is running to HEX.
- Added G trace indicates BSS Out Of Sync.
- Logger Fixes.
- Fixing the sensitivity of the device (1-2dB), on some modules, on high rates
MR:
6.5.7.0.45 / 7.5.7.0.45
- fix BA session tear down when there are fragments
- Protection from including fragments into an AMPDU aggregation
6.5.7.0.44 / 7.5.7.0.44
- Fix beacons in AP mode that where program to be send before command stop role occurred
- Fix SP and tx of NULL frame in STA role while AP disappears
- Trace in basic scan to indicate whether active or passive scan is running to HEX.
- Added G trace indicates BSS Out Of Sync.
- Logger Fixes.
- Fixing the sensitivity of the device (1-2dB), on some modules, on high rates
- Starting from this version, Trio supports only 7 peers derived from S memory limitation
6.5.7.0.43 / 7.5.7.0.43
- Fix MR GO+Sta: Recovery due to Tx stuck/Scan Complete in FW and then after disconnecting P2P Client.
- Logger Fix- Add zero mem for logger over SDIO in case memblock is full and there are several bytes remained
- Adding debug information - the option to read the process/general stack and IRQ history
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
11 years agowlconf: add WLCONF_DIR variable to Makefile R8.xx_Build-248 R8.xx_Build-249 R8.xx_Build-250 R8.xx_Build-251 R8.xx_Build-252 R8.xx_Build-253 R8.xx_Build-254 R8.xx_Build-258 R8.xx_Build-259 R8.xx_Build-260 R8.xx_Build-261 R8.xx_Build-262 R8.xx_Build-263 ol_r8.a5.14
wlconf: add WLCONF_DIR variable to Makefile
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
11 years agoAdding ADB SDIO Interconnect (ASI) application R8.xx_Build-224 R8.xx_Build-225 R8.xx_Build-226 R8.xx_Build-227 R8.xx_Build-228 R8.xx_Build-229 R8.xx_Build-230 R8.xx_Build-231 R8.xx_Build-232 R8.xx_Build-233 R8.xx_Build-234 R8.xx_Build-235 R8.xx_Build-236 R8.xx_Build-237 R8.xx_Build-238 R8.xx_Build-240 R8.xx_Build-241 R8.xx_Build-242 R8.xx_Build-243 R8.xx_Build-244 R8.xx_Build-245 R8.xx_Build-246 R8.xx_Build-247 ol_r8.a5.13
Adding ADB SDIO Interconnect (ASI) application
<Igal: Android.mk and device_mode.c were updated for build>
Signed-off-by: Arthur Tiv <arthur.tiv@ti.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
<Igal: Android.mk and device_mode.c were updated for build>
Signed-off-by: Arthur Tiv <arthur.tiv@ti.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
wl18xx_plt: filter rx packets (HUAWEI)
<debug prints were removed>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
<debug prints were removed>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
11 years agowlconf: add new configuration for Telec support R8.xx_Build-199 R8.xx_Build-200 R8.xx_Build-201 R8.xx_Build-202 R8.xx_Build-203 R8.xx_Build-204 R8.xx_Build-205 R8.xx_Build-206 R8.xx_Build-207 R8.xx_Build-208 R8.xx_Build-209 R8.xx_Build-210 R8.xx_Build-211 R8.xx_Build-212 R8.xx_Build-213 R8.xx_Build-214 R8.xx_Build-215 R8.xx_Build-216 R8.xx_Build-217 R8.xx_Build-218 R8.xx_Build-219 ol_r8.a5.09 ol_r8.a5.10 ol_r8.a5.11
wlconf: add new configuration for Telec support
New official INI files were updated to include new values
Meta files were updated accordingly:
conf.h
dictionary.txt
struct.bin
default.conf
wl18xx-conf-default.bin
Example file were updated:
example.conf
example.ini
Signed-off-by: Victor Goldenshtein <victorg@ti.com>
New official INI files were updated to include new values
Meta files were updated accordingly:
conf.h
dictionary.txt
struct.bin
default.conf
wl18xx-conf-default.bin
Example file were updated:
example.conf
example.ini
Signed-off-by: Victor Goldenshtein <victorg@ti.com>
11 years agowlconf: disable BA on VO TIDs in tx_ba_tid_bitmap R8.xx_Build-167 R8.xx_Build-168 R8.xx_Build-169 R8.xx_Build-170 R8.xx_Build-171 R8.xx_Build-172 R8.xx_Build-173 R8.xx_Build-174 R8.xx_Build-175 R8.xx_Build-176 R8.xx_Build-177 R8.xx_Build-178 R8.xx_Build-179 R8.xx_Build-180 R8.xx_Build-181 R8.xx_Build-183 R8.xx_Build-185 R8.xx_Build-188 R8.xx_Build-190 R8.xx_Build-191 R8.xx_Build-196 R8.xx_Build-197 R8.xx_Build-198 ol_r8.a5.06 ol_r8.a5.07 ol_r8.a5.08
wlconf: disable BA on VO TIDs in tx_ba_tid_bitmap
Updated:
default.conf
example.conf
wl18xx-conf-default.bin
This alignes with driver commit
104d7149: wlcore: disable Tx BA on TIDs 6 and 7
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Updated:
default.conf
example.conf
wl18xx-conf-default.bin
This alignes with driver commit
104d7149: wlcore: disable Tx BA on TIDs 6 and 7
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
11 years agowlconf: set default HT mode to SISO40 R8.xx_Build-150 R8.xx_Build-151 R8.xx_Build-152 R8.xx_Build-153 R8.xx_Build-154 R8.xx_Build-155 R8.xx_Build-156 R8.xx_Build-157 R8.xx_Build-158 R8.xx_Build-159 R8.xx_Build-160 R8.xx_Build-162 R8.xx_Build-163 R8.xx_Build-164 R8.xx_Build-165 R8.xx_Build-166
wlconf: set default HT mode to SISO40
Updated:
default.conf
example.conf
wl18xx-conf-default.bin
This alignes with driver commit fdc4baaa4a193032
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Updated:
default.conf
example.conf
wl18xx-conf-default.bin
This alignes with driver commit fdc4baaa4a193032
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
11 years agowlconf: Update metafiles according to latest official INIs R8.xx_Build-145 R8.xx_Build-146 R8.xx_Build-147 R8.xx_Build-148 R8.xx_Build-149 ol_r8.a5.05
wlconf: Update metafiles according to latest official INIs
Updated:
default.conf
example.conf
example.ini
wl18xx-conf-default.bin
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Updated:
default.conf
example.conf
example.ini
wl18xx-conf-default.bin
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf/ini: update ini files to HDK1.8
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
update firmwares: SR: X.3.10.0.133 MR: X.5.7.0.42
SR:
- Bug Fix: Scan: Scheduled Scan to 16 hidden profiles is performed every 1
second after P2P Client connected to GOUT. While moving from band to
band inside a cycle, Connection scan process set its state to PENDING
w/o scheduling a timer, which might cause to a race between Beacon TX
guard interval update and Connection scan process.
Fix: Avoiding the state change to pending while moving from band to band.
- Bug Fix:protecting TimeSchedulerChangeScanToPendingCB() with DISABLE_INT()
so it won't be cut by TxNotifyTriggeredScanCB(). This is a fix for race
scenario in which we are alreay inside TimeSchedulerChangeScanToPendingCB(),
clearing the eventHandler, then cut by TxNotifyTriggeredScanCB which check
the eventHandler, and when it sees that it is 0, it moves the scan process
to pending. Then the process scheduler is invoked, moves the scan process to
running, and then we return back to the TimeSchedulerChangeScanToPendingCB()
context, which moves back the process scan to pending state.
MR:
- Bug Fix: When AP/GO is started and it is connected to STA, FW sets a guard
interval between Beacon Tx to Scan's processes of 25mSec. The motivation of
this fix is to leave a guard interval after Beacon Tx for STAs to get out
from PS to receive packets from AP. To achieve this goal scan in now is
limited to 70mSec in case AP is connected to STA.
Note: If next Scan's time event should be invoked in 500uSec or less don't
update time event.
- Bug Fix: (Process Calibration) If there is an active role tune back to the
operational channel & band after calibration completes. This cause an AP/GO
to operate on a wrong channel , i.e AP/GO transmits beacons on a wrong
channel.
- Bug Fix: Scan: Scheduled Scan to 16 hidden profiles is performed every 1
second after P2P Client connected to GOUT. While moving from band to
band inside a cycle, Connection scan process set its state to PENDING
w/o scheduling a timer, which might cause to a race between Beacon TX
guard interval update and Connection scan process.
Fix: Avoiding the state change to pending while moving from band to band.
- Bug Fix: solve an IOP issue with the Galaxy S3. We saw that when we use
AP/GO role, a galaxy S3 is connected to us, and we run TCP TX traffic,
the traffic stops after some short time. After an investigation, we saw
that the Galaxy, becomes deaf for a short time, and we try to send packets
to it but get to the station aging max retries, and remove that peer from
us which cause traffic stop. We saw that after some time the galaxy recovers
from this deafness and transmit to us again, but it's too late, we already
removed it. To overcome this:
a. In station aging, after exceeding MAX_TX_RETRIES for the specific peer
for the first time, we suspend the TX of the galaxy's flid, and
initialize a timer with ANOTHER_CHANCE_FOR_AGING_DURATION (for now 1
sec). After the timer exceeds, we resume the traffic, and try to send
packets to the galaxy again, if we get one more time to MAX_TX_RETRY
only then we remove the station.
b. There was a change in the ieee802.11n spec which allows us to transmit
BAR frames in 11b + OFDM 6/12/24 Mbps Rates we saw that it helps to
reduce the galaxy's deafness problem.
- Reducing the gLogger UART keep alive message interval from 5sec to 1sec
(UART_KEEP_ALIVE_INTERVAL)
Signed-off-by: Ido Reis <idor@ti.com>
SR:
- Bug Fix: Scan: Scheduled Scan to 16 hidden profiles is performed every 1
second after P2P Client connected to GOUT. While moving from band to
band inside a cycle, Connection scan process set its state to PENDING
w/o scheduling a timer, which might cause to a race between Beacon TX
guard interval update and Connection scan process.
Fix: Avoiding the state change to pending while moving from band to band.
- Bug Fix:protecting TimeSchedulerChangeScanToPendingCB() with DISABLE_INT()
so it won't be cut by TxNotifyTriggeredScanCB(). This is a fix for race
scenario in which we are alreay inside TimeSchedulerChangeScanToPendingCB(),
clearing the eventHandler, then cut by TxNotifyTriggeredScanCB which check
the eventHandler, and when it sees that it is 0, it moves the scan process
to pending. Then the process scheduler is invoked, moves the scan process to
running, and then we return back to the TimeSchedulerChangeScanToPendingCB()
context, which moves back the process scan to pending state.
MR:
- Bug Fix: When AP/GO is started and it is connected to STA, FW sets a guard
interval between Beacon Tx to Scan's processes of 25mSec. The motivation of
this fix is to leave a guard interval after Beacon Tx for STAs to get out
from PS to receive packets from AP. To achieve this goal scan in now is
limited to 70mSec in case AP is connected to STA.
Note: If next Scan's time event should be invoked in 500uSec or less don't
update time event.
- Bug Fix: (Process Calibration) If there is an active role tune back to the
operational channel & band after calibration completes. This cause an AP/GO
to operate on a wrong channel , i.e AP/GO transmits beacons on a wrong
channel.
- Bug Fix: Scan: Scheduled Scan to 16 hidden profiles is performed every 1
second after P2P Client connected to GOUT. While moving from band to
band inside a cycle, Connection scan process set its state to PENDING
w/o scheduling a timer, which might cause to a race between Beacon TX
guard interval update and Connection scan process.
Fix: Avoiding the state change to pending while moving from band to band.
- Bug Fix: solve an IOP issue with the Galaxy S3. We saw that when we use
AP/GO role, a galaxy S3 is connected to us, and we run TCP TX traffic,
the traffic stops after some short time. After an investigation, we saw
that the Galaxy, becomes deaf for a short time, and we try to send packets
to it but get to the station aging max retries, and remove that peer from
us which cause traffic stop. We saw that after some time the galaxy recovers
from this deafness and transmit to us again, but it's too late, we already
removed it. To overcome this:
a. In station aging, after exceeding MAX_TX_RETRIES for the specific peer
for the first time, we suspend the TX of the galaxy's flid, and
initialize a timer with ANOTHER_CHANCE_FOR_AGING_DURATION (for now 1
sec). After the timer exceeds, we resume the traffic, and try to send
packets to the galaxy again, if we get one more time to MAX_TX_RETRY
only then we remove the station.
b. There was a change in the ieee802.11n spec which allows us to transmit
BAR frames in 11b + OFDM 6/12/24 Mbps Rates we saw that it helps to
reduce the galaxy's deafness problem.
- Reducing the gLogger UART keep alive message interval from 5sec to 1sec
(UART_KEEP_ALIVE_INTERVAL)
Signed-off-by: Ido Reis <idor@ti.com>
update firmwares: SR: X.3.10.0.132
- Update guard interval between Beacon Tx to Scan's processes - if next Scan's
time event should be invoked in 500uSec or less don't update time event.
- There was a change in the ieee802.11n spec which allows us to enable the
power managment bit in control frames also
- Bug Fix: When STA is connected to external AP and there is another
(external) STA connected to the same AP. The SUT will ACK all the
packets sent by the external STA.
Signed-off-by: Ido Reis <idor@ti.com>
- Update guard interval between Beacon Tx to Scan's processes - if next Scan's
time event should be invoked in 500uSec or less don't update time event.
- There was a change in the ieee802.11n spec which allows us to enable the
power managment bit in control frames also
- Bug Fix: When STA is connected to external AP and there is another
(external) STA connected to the same AP. The SUT will ACK all the
packets sent by the external STA.
Signed-off-by: Ido Reis <idor@ti.com>
update firmwares: MR: X.5.7.0.41
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
11 years agowlconf: change INI files and deault values R8.xx_Build-121 R8.xx_Build-122 R8.xx_Build-123 R8.xx_Build-124 R8.xx_Build-125 R8.xx_Build-126 R8.xx_Build-127 R8.xx_Build-128 R8.xx_Build-129 R8.xx_Build-130 R8.xx_Build-131 R8.xx_Build-132 R8.xx_Build-133 R8.xx_Build-134 R8.xx_Build-135 R8.xx_Build-137 R8.xx_Build-138 R8.xx_Build-139 R8.xx_Build-140 R8.xx_Build-141 R8.xx_Build-142 R8.xx_Build-143 R8.xx_Build-144 ol_r8.a5.02 ol_r8.a5.03 ol_r8.a5.04
wlconf: change INI files and deault values
Offical INI files were modified to the latest. The changes are in
TX power level values:
TxPower_level_MaxPower = 18
TxPower_level_MedPower = 12
TxPower_level_LowPower = 08
TxPower_level_MaxPower_2nd = 14
TxPower_level_MedPower_2nd = 0A
TxPower_level_LowPower_2nd = 05
Meta files were updated accordingly:
default.conf
example.conf
example.ini
wl18xx-conf-default.bin
This change aligns with driver change: commit debefd66f5ff
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Offical INI files were modified to the latest. The changes are in
TX power level values:
TxPower_level_MaxPower = 18
TxPower_level_MedPower = 12
TxPower_level_LowPower = 08
TxPower_level_MaxPower_2nd = 14
TxPower_level_MedPower_2nd = 0A
TxPower_level_LowPower_2nd = 05
Meta files were updated accordingly:
default.conf
example.conf
example.ini
wl18xx-conf-default.bin
This change aligns with driver change: commit debefd66f5ff
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
update firmwares: SR: X.3.10.0.131, MR: X.5.7.0.40
Firmware X.3.10.0.131 changes:
- Bug Fix: Radio Tune was performed during TX activity and it causes the
PHY to stuck. It happens in SR, when an AP/GO's DUT is connected
to a STA/Client and run TX traffic, while STA's DUT role that is
not connected, performs schedule scan and one shot scan.
- Optimization for the guard interval between Beacon Tx to Scan's processes
solution that was delivered in Rev 6.3.10.0.127.
Firmware X.5.7.0.40 changes:
- Bug Fix: Radio Tune was performed during TX activity and it causes the
PHY to stuck. It happens in SR, when an AP/GO's DUT is connected
to a STA/Client and run TX traffic, while STA's DUT role that is
not connected, performs schedule scan and one shot scan.
Signed-off-by: Ido Reis <idor@ti.com>
Firmware X.3.10.0.131 changes:
- Bug Fix: Radio Tune was performed during TX activity and it causes the
PHY to stuck. It happens in SR, when an AP/GO's DUT is connected
to a STA/Client and run TX traffic, while STA's DUT role that is
not connected, performs schedule scan and one shot scan.
- Optimization for the guard interval between Beacon Tx to Scan's processes
solution that was delivered in Rev 6.3.10.0.127.
Firmware X.5.7.0.40 changes:
- Bug Fix: Radio Tune was performed during TX activity and it causes the
PHY to stuck. It happens in SR, when an AP/GO's DUT is connected
to a STA/Client and run TX traffic, while STA's DUT role that is
not connected, performs schedule scan and one shot scan.
Signed-off-by: Ido Reis <idor@ti.com>
update firmwares: single role: X.3.10.0.130 multi role: X.5.7.0.39
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
11 years agocalibrator: add support for plt fem-detect/chip-awake power modes R8.xx_Build-114 R8.xx_Build-115 R8.xx_Build-116 R8.xx_Build-117 R8.xx_Build-118 R8.xx_Build-119 R8.xx_Build-120
calibrator: add support for plt fem-detect/chip-awake power modes
fem-detect power mode works on wl6/7 and returns the fem radio type.
This is the basis for calibrator auto-fem logic where the decision
on fem type to use is done in calibrator itself and not the driver.
auto-fem logic will be added later on.
chip-awake mode turns the chip on and perform sdio initialization
and ELP wakeup. This mode is used for RTTT sdio bridging.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
fem-detect power mode works on wl6/7 and returns the fem radio type.
This is the basis for calibrator auto-fem logic where the decision
on fem type to use is done in calibrator itself and not the driver.
auto-fem logic will be added later on.
chip-awake mode turns the chip on and perform sdio initialization
and ELP wakeup. This mode is used for RTTT sdio bridging.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
logproxy: increase ka interval to 30
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Ido Reis <idor@ti.com>
wl_logproxy: update to the latest version
This version is based on FW logger which log record
len was removed (starting from FW X.3.10.0.129)
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
This version is based on FW logger which log record
len was removed (starting from FW X.3.10.0.129)
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
11 years agowlconf: increase scan dwell times if no activity R8.xx_Build-101 R8.xx_Build-109 R8.xx_Build-110 R8.xx_Build-111 R8.xx_Build-112 ol_r8.a5.01
wlconf: increase scan dwell times if no activity
Allow configuration of longer dwell times in case there no active
interface (i.e. no STA associated or AP up).
update min/max dwell times, and add two additinal wlcore:
min_dwell_time_active_conc, max_dwell_time_active_conc.
The new values are:
25000/50000 for normal dwell times.
7500/30000 for conc mode.
alignment to driver commit 255ee520a7657f95e4f62c0503fea8fa616fe54c.
Signed-off-by: Ido Reis <idor@ti.com>
Allow configuration of longer dwell times in case there no active
interface (i.e. no STA associated or AP up).
update min/max dwell times, and add two additinal wlcore:
min_dwell_time_active_conc, max_dwell_time_active_conc.
The new values are:
25000/50000 for normal dwell times.
7500/30000 for conc mode.
alignment to driver commit 255ee520a7657f95e4f62c0503fea8fa616fe54c.
Signed-off-by: Ido Reis <idor@ti.com>
update firmwares: single role: X.3.10.0.129
- PLT FW size issue was fixed (is to be multiply of 4)
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
- PLT FW size issue was fixed (is to be multiply of 4)
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
update firmwares: single role: X.3.10.0.128 multi role: X.5.7.0.38
X.3.10.0.127:
- Bug Fix MCS00119869 - When AP/GO is started and it is connected to STA
,FW sets a guard interval between Beacon Tx to Scan's processes of 25mSec.
- Bug Fix MCS00119230 (Stop role device) - Clean HLID from HLID/FLID conversion
table on stop role device
- Bug Fix MCS00118459 (Process Calibration)- If there is an active role
tune back to the operational channel & band after calibration completes.
- Bug Fix (Trigger Scan) - When AP/GO is active , process trigger scan is limited
to 95mSec or 70mSec but scan max DWELL time remain as it was conifured by host.
- Bug fix MCS00118277 APUT doesn't send de-authentication to STA after aging time,
and perform recovery with assert number 0xc000e6e8
- Bug fix MCS00119671 Measurement Request getting stuck in FW upon receiving 0 CH
list in 2.4Ghz band.
X.3.10.0.128:
- Glogger fixes, from this version and on, glogger only works with GLOGGER version 1.7
- Added support for removing the channel switch announcement when AP preforms channel
switch and the beacon is larger then 1 mblk.
X.5.7.0.38:
- Glogger fixes, from this version and on, glogger only works with GLOGGER version 1.7
- Bug fix MCS00118277 APUT doesn't send de-authentication to STA after aging time,
and perform recovery with assert number 0xc000e6e8
- Bug fix MCS00119159 MR: Recovery 0x8a78 (_Roles_ExtractRoleContext) when operating
in MR with FW over SDIO Continuous mode
- Bug fix MCS00118268 SG SUT: Recovery (0x24d2a)(_gTrace) while inquiry or connection
in BT while TCP RX running in WLAN
Signed-off-by: Assaf Azulay <assaf@ti.com>
X.3.10.0.127:
- Bug Fix MCS00119869 - When AP/GO is started and it is connected to STA
,FW sets a guard interval between Beacon Tx to Scan's processes of 25mSec.
- Bug Fix MCS00119230 (Stop role device) - Clean HLID from HLID/FLID conversion
table on stop role device
- Bug Fix MCS00118459 (Process Calibration)- If there is an active role
tune back to the operational channel & band after calibration completes.
- Bug Fix (Trigger Scan) - When AP/GO is active , process trigger scan is limited
to 95mSec or 70mSec but scan max DWELL time remain as it was conifured by host.
- Bug fix MCS00118277 APUT doesn't send de-authentication to STA after aging time,
and perform recovery with assert number 0xc000e6e8
- Bug fix MCS00119671 Measurement Request getting stuck in FW upon receiving 0 CH
list in 2.4Ghz band.
X.3.10.0.128:
- Glogger fixes, from this version and on, glogger only works with GLOGGER version 1.7
- Added support for removing the channel switch announcement when AP preforms channel
switch and the beacon is larger then 1 mblk.
X.5.7.0.38:
- Glogger fixes, from this version and on, glogger only works with GLOGGER version 1.7
- Bug fix MCS00118277 APUT doesn't send de-authentication to STA after aging time,
and perform recovery with assert number 0xc000e6e8
- Bug fix MCS00119159 MR: Recovery 0x8a78 (_Roles_ExtractRoleContext) when operating
in MR with FW over SDIO Continuous mode
- Bug fix MCS00118268 SG SUT: Recovery (0x24d2a)(_gTrace) while inquiry or connection
in BT while TCP RX running in WLAN
Signed-off-by: Assaf Azulay <assaf@ti.com>
11 years agowlconf: update default fw logger conf to uart/cont R8.xx_Build-100 R8.xx_Build-91 R8.xx_Build-92 R8.xx_Build-93 R8.xx_Build-94 R8.xx_Build-95 R8.xx_Build-96 R8.xx_Build-97 R8.xx_Build-98 R8.xx_Build-99 ol_r8.a4.05
wlconf: update default fw logger conf to uart/cont
update the fw logger mode to continuous, and output to dbgpins (uart).
alignment to driver commit 846b680dff951054029dab40452d492f0980db36.
Signed-off-by: Ido Reis <idor@ti.com>
update the fw logger mode to continuous, and output to dbgpins (uart).
alignment to driver commit 846b680dff951054029dab40452d492f0980db36.
Signed-off-by: Ido Reis <idor@ti.com>
11 years agowl_logproxy: update to the latest version R8.xx_Build-85 R8.xx_Build-86 R8.xx_Build-87 R8.xx_Build-89 R8.xx_Build-90 ol_r8.a4.04
wl_logproxy: update to the latest version
This version is based on FW logger which log record
len was removed (starting from FW 8.4.0.0.22)
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
This version is based on FW logger which log record
len was removed (starting from FW 8.4.0.0.22)
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
11 years agowlconf: Add support for 2nd set of mac/phy TxPower params R8.xx_Build-79 R8.xx_Build-80 R8.xx_Build-81 R8.xx_Build-82 R8.xx_Build-83 R8.xx_Build-84
wlconf: Add support for 2nd set of mac/phy TxPower params
First set (low, medium and high TX power values) is used
for STA-HP BG role. The 2nd set is used for other roles.
New official INI files were updated to include new values
Meta files were updated accordingly:
conf.h
dictionary.txt
struct.bin
default.conf
wl18xx-conf-default.bin
Example file were updated:
example.conf
example.ini
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
First set (low, medium and high TX power values) is used
for STA-HP BG role. The 2nd set is used for other roles.
New official INI files were updated to include new values
Meta files were updated accordingly:
conf.h
dictionary.txt
struct.bin
default.conf
wl18xx-conf-default.bin
Example file were updated:
example.conf
example.ini
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
11 years agowlconf: add support for slow/fast link treasholds R8.xx_Build-70 R8.xx_Build-71 R8.xx_Build-72 R8.xx_Build-73 R8.xx_Build-74 R8.xx_Build-76 R8.xx_Build-78
wlconf: add support for slow/fast link treasholds
updated due to driver commit 986380e (wlcore: improved Tx scheduling
algorithm), which modified the wlcore base struct.
In addition of updating conf.h, the following files were regenerated:
struct.bin
default.conf
example.conf
wl18xx-cond-default.bin
Signed-off-by: Ido Reis <idor@ti.com>
updated due to driver commit 986380e (wlcore: improved Tx scheduling
algorithm), which modified the wlcore base struct.
In addition of updating conf.h, the following files were regenerated:
struct.bin
default.conf
example.conf
wl18xx-cond-default.bin
Signed-off-by: Ido Reis <idor@ti.com>
update single role firmware to X.7.3.10.0.126
Bug Fix MCS00117096 - If the role is sta role and we got Channel switch with count 0, then it means that the AP that
demanded the channel switch is about to switch channel at any time, so instead of 0 we put hard coded
count to 10. This value is valid by Spec.
Bug Fix MCS00118879 - SR SUT-APUT: Schedule Scan not working when APUT added as third interface
In order to fix this bug, following fixes were added:
In RemoveAllTimeEventAndRestoreSwEvents() (remove all events beside SW timers), while going through the event list, we indicate that the current time event is
SW event by adding eventType to the event info, and instead of asking about the event ID, we ask now if the type of the timer is
SW timer. Only event type other than SW type will be removed by this function
As part of this bug fix, When Starting AP role, every event in the system except of SW timers are being removed(via RemoveAllTimeEventAndRestoreSwEvents()).
Another thing done, is reseting the TSF to 0. this makes the old SW timers to be out of sync since their TSF is set to the old one. we decided
to avoid this out of sync by canceling the TSF reset and by that maintain the old timers.
Use split connection scan at all time, regardless the active role, meaning, not only during AP/GO, so we wont have to change
the scan configuration while AP role is started after connection scan is already running.
This change has also forced us to use DWELL time of 95msec for passive scan, all the time, regardless the role, and not only during AP based role.
The reason is that it was too complicated to support dynamic DWEEL time change of the passive scan in case AP role is started while passive is running.
Fix the duration set to the process connection scan. While running split connection scan, we used to set the duration
of the process to the whole scan cycle when starting a new channel. we fixed it to be set to the duration of the first channel
of the cycle because the scan is splitted per channel and so is the process.
Change the connection scan timers to be all SW timers with ID CONNECTION_SCAN_TIMER_ID (cycle timer and in_cycle_CH timer). Put all the timer handlers in the
ConnectionScanCB, and set the timer handlers to NO_EVENT_TIME when the timer call back is called.
Fixing a bug where the connection scan has registered a start pwrmgt activity at the beginning of each CH, and hasn't registered a stop pwrmgt activity
at the end of the channel scan completion, while using split connection scan. This prevented the FW from entering ELP in between the CH scan gaps.
Signed-off-by: Assaf Azulay <assaf@ti.com>
Bug Fix MCS00117096 - If the role is sta role and we got Channel switch with count 0, then it means that the AP that
demanded the channel switch is about to switch channel at any time, so instead of 0 we put hard coded
count to 10. This value is valid by Spec.
Bug Fix MCS00118879 - SR SUT-APUT: Schedule Scan not working when APUT added as third interface
In order to fix this bug, following fixes were added:
In RemoveAllTimeEventAndRestoreSwEvents() (remove all events beside SW timers), while going through the event list, we indicate that the current time event is
SW event by adding eventType to the event info, and instead of asking about the event ID, we ask now if the type of the timer is
SW timer. Only event type other than SW type will be removed by this function
As part of this bug fix, When Starting AP role, every event in the system except of SW timers are being removed(via RemoveAllTimeEventAndRestoreSwEvents()).
Another thing done, is reseting the TSF to 0. this makes the old SW timers to be out of sync since their TSF is set to the old one. we decided
to avoid this out of sync by canceling the TSF reset and by that maintain the old timers.
Use split connection scan at all time, regardless the active role, meaning, not only during AP/GO, so we wont have to change
the scan configuration while AP role is started after connection scan is already running.
This change has also forced us to use DWELL time of 95msec for passive scan, all the time, regardless the role, and not only during AP based role.
The reason is that it was too complicated to support dynamic DWEEL time change of the passive scan in case AP role is started while passive is running.
Fix the duration set to the process connection scan. While running split connection scan, we used to set the duration
of the process to the whole scan cycle when starting a new channel. we fixed it to be set to the duration of the first channel
of the cycle because the scan is splitted per channel and so is the process.
Change the connection scan timers to be all SW timers with ID CONNECTION_SCAN_TIMER_ID (cycle timer and in_cycle_CH timer). Put all the timer handlers in the
ConnectionScanCB, and set the timer handlers to NO_EVENT_TIME when the timer call back is called.
Fixing a bug where the connection scan has registered a start pwrmgt activity at the beginning of each CH, and hasn't registered a stop pwrmgt activity
at the end of the channel scan completion, while using split connection scan. This prevented the FW from entering ELP in between the CH scan gaps.
Signed-off-by: Assaf Azulay <assaf@ti.com>
Update Firmware versions single role: X.3.10.0.125 multi role: X.5.0.7.37
- When triggered scan is initiated, try to enter PS two times if the first time fails.
if the second time fails as well, do force because the chance that we lost our connection to the AP,
and the DRV didn't initiated PS. the second PS check is after 100 ms.
Signed-off-by: Assaf Azulay <assaf@ti.com>
- When triggered scan is initiated, try to enter PS two times if the first time fails.
if the second time fails as well, do force because the chance that we lost our connection to the AP,
and the DRV didn't initiated PS. the second PS check is after 100 ms.
Signed-off-by: Assaf Azulay <assaf@ti.com>
wl_logproxy: updated to latest version
Update logproxy service to the latest version.
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Update logproxy service to the latest version.
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
update firmwares: single role X.3.10.0.124, multi role X.5.7.0.36
- P2P Provision Discovery Fix: aGO receives Provision Discovery request
from client to mac address of the P2P device.
- Adding AP channel switch for AP and AGO roles, and enable channel
switch module also for Trio.
- Reseting the Seq number of packets to something random
per when adding and reseting links
- Removing the logger dump
- Adding check to the Beacon Early Termination interrupt so if
a beacon length has been changed from prev beacon Rx,
the beacon won't be dropped in order to allow handling the new IEs.
- Dynamic SGI - Add command to Enable/Disable SGI and Greenfield
by the host for certifications tests
- Disable the assert while trying to use TRACE from NVIC level (SG DCN MGR)
- Change the recovery sequence - the driver will write 0xCAFECAFE to a certain
memory location(ADDR 0x1C), and the FW will initiate ASSERT(0) instead of
immediate recovery by the DRV. This will halt the FW priror the DRV
reads the FW core dump and 2 FW log.
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
- P2P Provision Discovery Fix: aGO receives Provision Discovery request
from client to mac address of the P2P device.
- Adding AP channel switch for AP and AGO roles, and enable channel
switch module also for Trio.
- Reseting the Seq number of packets to something random
per when adding and reseting links
- Removing the logger dump
- Adding check to the Beacon Early Termination interrupt so if
a beacon length has been changed from prev beacon Rx,
the beacon won't be dropped in order to allow handling the new IEs.
- Dynamic SGI - Add command to Enable/Disable SGI and Greenfield
by the host for certifications tests
- Disable the assert while trying to use TRACE from NVIC level (SG DCN MGR)
- Change the recovery sequence - the driver will write 0xCAFECAFE to a certain
memory location(ADDR 0x1C), and the FW will initiate ASSERT(0) instead of
immediate recovery by the DRV. This will halt the FW priror the DRV
reads the FW core dump and 2 FW log.
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
11 years agocalibrator: Adding FW version validation R8.xx_Build-10 R8.xx_Build-12 R8.xx_Build-13 R8.xx_Build-15 R8.xx_Build-16 R8.xx_Build-17 R8.xx_Build-18 R8.xx_Build-20 R8.xx_Build-21 R8.xx_Build-22 R8.xx_Build-23 R8.xx_Build-24 R8.xx_Build-25 R8.xx_Build-27 R8.xx_Build-28 R8.xx_Build-32 R8.xx_Build-34 R8.xx_Build-35 R8.xx_Build-36 R8.xx_Build-37 R8.xx_Build-38 R8.xx_Build-39 R8.xx_Build-40 R8.xx_Build-41 R8.xx_Build-42 R8.xx_Build-43 R8.xx_Build-44 R8.xx_Build-45 R8.xx_Build-46 R8.xx_Build-48 R8.xx_Build-49 R8.xx_Build-50 R8.xx_Build-51 R8.xx_Build-52 R8.xx_Build-53 R8.xx_Build-54 R8.xx_Build-55 R8.xx_Build-56 R8.xx_Build-57 R8.xx_Build-58 R8.xx_Build-59 R8.xx_Build-6 R8.xx_Build-60 R8.xx_Build-61 R8.xx_Build-62 R8.xx_Build-63 R8.xx_Build-64 R8.xx_Build-65 R8.xx_Build-66 R8.xx_Build-67 R8.xx_Build-68 R8.xx_Build-69 R8.xx_Build-7 R8.xx_Build-8 R8.xx_Build-9 ol_r8.a4.01 ol_r8.a4.02 ol_r8.a4.03 r8.a3.09-build_49 r8.a3.09-build_50 r8.a3.09-build_51
calibrator: Adding FW version validation
Adding FW version validation for last 4 new command.
Signed-off-by: Arthur Tiv <arthur.tiv@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Adding FW version validation for last 4 new command.
Signed-off-by: Arthur Tiv <arthur.tiv@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
calibrator: Adding README updates
Adding description of the new command to the README text file.
Adding updated version number.
Signed-off-by: Arthur Tiv <arthur.tiv@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Adding description of the new command to the README text file.
Adding updated version number.
Signed-off-by: Arthur Tiv <arthur.tiv@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
calibrator: Add read/write PHY reg
Adding read PHY register command.
Adding write PHY register command.
Signed-off-by: Arthur Tiv <arthur.tiv@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Adding read PHY register command.
Adding write PHY register command.
Signed-off-by: Arthur Tiv <arthur.tiv@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
calibrator: Adding two more set antenna cmds
There are two set antenna commands: for the 2.4 GHz and 5GHz.
The previous set antenna command is removed.
Signed-off-by: Arthur Tiv <arthur.tiv@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
There are two set antenna commands: for the 2.4 GHz and 5GHz.
The previous set antenna command is removed.
Signed-off-by: Arthur Tiv <arthur.tiv@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: Update wl18xx (phy) conf parameters
Updated per changes in phy conf structure and default values.
Meta files regenerated accordingly.
This fix also includes new official INI files and
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Updated per changes in phy conf structure and default values.
Meta files regenerated accordingly.
This fix also includes new official INI files and
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
update firmwares: single role X.3.9.0.122, multi role X.5.7.0.33
- Reconfigure internal FW templates in start role for BAR to support multiple
interfaces in SR mode (for JB)
- Bug fix: trigger scan is stuck and next channel is never invoked when
trigger scan process waits to be invoked from the context of tx
exchange and the last tx frame was a management
frame->TxNotifyTriggeredScanCB
- Fix EAPOL rx filtering and handle LastSequenceNumber per link.
- AES fix: Set PN default to 0xFFFF , because some APs send the first packet
with PN 0, and if default is 0 - the FW ignores it
- Update connection monitor - protect TSFMissedThreshold from situations when
the driver set TSFMissedThreshold to 0xFFFFFFFF
- Disconnect FIX- There are pending frames stuck in TX pending queue when: BA
session is established , BA_Expected =1/0. we suggested a fix for this
issue as described below:
the cause of this issue is when the host sends stop role command then
the FW tears down all the current BA session and clears any traffic
still left in TX queues. So during the disconnect process it calls to
Links_RemoveFLIDTxQueueIfTraffic function which marks the link as
pending removal and update the callback
processDisconnect_LinksRemovalCallback to be called once the link is
finally removable , that will finish the disconnect process.
But I saw that the number of frames for the current FLID had never
been zero at the stuck point , and so the callback will not be called.
The disconnect process should not be as I have described above. the
Links_RemoveFLIDTxQueueIfTraffic function should always call to the
callback whether the flid has traffic or not, and just to mark the FLID
as invalid.
- Keep alive fixes:
1.Remove the counter from the code if a frame is stuck in the FW
queues, the Tx watchdog (or Tx monitor) will issue and assert.
2.In the tx exchange callback, not to consider a frame that exceeded
retries or timed-out as a successful transmission indicating keep-live
to the peer.
3.Any frame that passes successfully resets the time stamp sampling
for the purpose of next keep alive.
4.Continue keep alive frames transmissions while they are not enqueued,
not successfully transmitted, and no other frame is successfully
transmitted.
- Increasing BAR Threshold from 10 to 50.
- Disable PHY Clock Gating in export_hdk.c.
- Split the connection scan while in AP mode so beacons will be transmitted in
between the connection scan.
- Enable Cortex Gating during AP/GO roles. The purpose of this functionality
is to gain lower Cortex current consumption while no real activity in
FW. Meaning, when FW is just running in main with no real
interrupts/processes pending, we will allow the Cortex to "go to sleep"
until any new interrupt will be invoked (HW interrupt, timers, etc).
- Adding mDNS Filter
Signed-off-by: Ido Reis <idor@ti.com>
- Reconfigure internal FW templates in start role for BAR to support multiple
interfaces in SR mode (for JB)
- Bug fix: trigger scan is stuck and next channel is never invoked when
trigger scan process waits to be invoked from the context of tx
exchange and the last tx frame was a management
frame->TxNotifyTriggeredScanCB
- Fix EAPOL rx filtering and handle LastSequenceNumber per link.
- AES fix: Set PN default to 0xFFFF , because some APs send the first packet
with PN 0, and if default is 0 - the FW ignores it
- Update connection monitor - protect TSFMissedThreshold from situations when
the driver set TSFMissedThreshold to 0xFFFFFFFF
- Disconnect FIX- There are pending frames stuck in TX pending queue when: BA
session is established , BA_Expected =1/0. we suggested a fix for this
issue as described below:
the cause of this issue is when the host sends stop role command then
the FW tears down all the current BA session and clears any traffic
still left in TX queues. So during the disconnect process it calls to
Links_RemoveFLIDTxQueueIfTraffic function which marks the link as
pending removal and update the callback
processDisconnect_LinksRemovalCallback to be called once the link is
finally removable , that will finish the disconnect process.
But I saw that the number of frames for the current FLID had never
been zero at the stuck point , and so the callback will not be called.
The disconnect process should not be as I have described above. the
Links_RemoveFLIDTxQueueIfTraffic function should always call to the
callback whether the flid has traffic or not, and just to mark the FLID
as invalid.
- Keep alive fixes:
1.Remove the counter from the code if a frame is stuck in the FW
queues, the Tx watchdog (or Tx monitor) will issue and assert.
2.In the tx exchange callback, not to consider a frame that exceeded
retries or timed-out as a successful transmission indicating keep-live
to the peer.
3.Any frame that passes successfully resets the time stamp sampling
for the purpose of next keep alive.
4.Continue keep alive frames transmissions while they are not enqueued,
not successfully transmitted, and no other frame is successfully
transmitted.
- Increasing BAR Threshold from 10 to 50.
- Disable PHY Clock Gating in export_hdk.c.
- Split the connection scan while in AP mode so beacons will be transmitted in
between the connection scan.
- Enable Cortex Gating during AP/GO roles. The purpose of this functionality
is to gain lower Cortex current consumption while no real activity in
FW. Meaning, when FW is just running in main with no real
interrupts/processes pending, we will allow the Cortex to "go to sleep"
until any new interrupt will be invoked (HW interrupt, timers, etc).
- Adding mDNS Filter
Signed-off-by: Ido Reis <idor@ti.com>
11 years agowlconf: Updated default conf to HP_SISO R8.xx_Build-2 R8.xx_Build-3 R8.xx_Build-4 R8.xx_Build-5 ol_r8.a3.14 r8.a3.09-build_37 r8.a3.09-build_38 r8.a3.09-build_39 r8.a3.09-build_41 r8.a3.09-build_42 r8.a3.09-build_43 r8.a3.09-build_44 r8.a3.09-build_45 r8.a3.09-build_47 r8.a3.09-build_48
wlconf: Updated default conf to HP_SISO
Updated default conf to HP_SISO - siso40 for rdl1_rdl3
default.conf,
example.conf and
wl18xx-conf-default.bin
were updated accordingly.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Updated default conf to HP_SISO - siso40 for rdl1_rdl3
default.conf,
example.conf and
wl18xx-conf-default.bin
were updated accordingly.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
11 years agowlconf: add support for recovery setting conf ol_r8.a3.12-jb ol_r8.a3.13-jb r8.a3.09-build_35 r8.a3.09-build_36
wlconf: add support for recovery setting conf
add support for recovery settings conf including bug_on_recovery
and no_recovery options. This aligns with latest kernel change.
In addition to updating conf.h, the following files were regenerated:
struct.bin
default.conf
example.conf
wl18xx-cond-default.bin
Also tests were updated in accordance to the change and a small error
in wlconf_unit_test.xlsx was fixed.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
add support for recovery settings conf including bug_on_recovery
and no_recovery options. This aligns with latest kernel change.
In addition to updating conf.h, the following files were regenerated:
struct.bin
default.conf
example.conf
wl18xx-cond-default.bin
Also tests were updated in accordance to the change and a small error
in wlconf_unit_test.xlsx was fixed.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
update firmwares: single role X.3.9.0.120, multi role X.5.7.0.32
6.3.9.0.120/ 7.3.9.0.120
- During sliced scan, before every scan slice, we check if we have frames to transmit, if so we should transmit frames for 50 millisecond and then
(or until we are out of frames to transmit) move to the next scan slice and continue the scanning.
Before the fix, for every single time we check our queues of frames to transmit, we get a negative answer and continue scanning without giving
a chance to the frames to be transmitted and released.
- Fix for Bug MCS00116357- WiFi TGn APUT 4.2.31: The APUT doesn't turn on the HT non-member protection bit
Original Bug issue was raised in Bug MCS00113136. MCS00113136's Fix did not handle a stop start scenario.
- Reconfigure internal FW templates in start role for BA to support multiple interfaces in SR mode (for JB)
6.5.7.0.32 / 7.5.7.0.32
- Update MAX_STA_BASED_ROLES to support 3 sta based roles (instead of 2).
Driver uses additional interface for the P2P connection establishment which requiers the third sta based role enabled.
- During sliced scan, before every scan slice, we check if we have frames to transmit, if so we should transmit frames for 50 millisecond and then
(or until we are out of frames to transmit) move to the next scan slice and continue the scanning.
Before the fix, for every single time we check our queues of frames to transmit, we get a negative answer and continue scanning without giving
a chance to the frames to be transmitted and released."
Signed-off-by: Assaf Azulay <assaf@ti.com>
6.3.9.0.120/ 7.3.9.0.120
- During sliced scan, before every scan slice, we check if we have frames to transmit, if so we should transmit frames for 50 millisecond and then
(or until we are out of frames to transmit) move to the next scan slice and continue the scanning.
Before the fix, for every single time we check our queues of frames to transmit, we get a negative answer and continue scanning without giving
a chance to the frames to be transmitted and released.
- Fix for Bug MCS00116357- WiFi TGn APUT 4.2.31: The APUT doesn't turn on the HT non-member protection bit
Original Bug issue was raised in Bug MCS00113136. MCS00113136's Fix did not handle a stop start scenario.
- Reconfigure internal FW templates in start role for BA to support multiple interfaces in SR mode (for JB)
6.5.7.0.32 / 7.5.7.0.32
- Update MAX_STA_BASED_ROLES to support 3 sta based roles (instead of 2).
Driver uses additional interface for the P2P connection establishment which requiers the third sta based role enabled.
- During sliced scan, before every scan slice, we check if we have frames to transmit, if so we should transmit frames for 50 millisecond and then
(or until we are out of frames to transmit) move to the next scan slice and continue the scanning.
Before the fix, for every single time we check our queues of frames to transmit, we get a negative answer and continue scanning without giving
a chance to the frames to be transmitted and released."
Signed-off-by: Assaf Azulay <assaf@ti.com>
11 years agowlconf: change default core.ht.rx_ba_win_size ol_r8.a3.11 ol_r8.a3.11_jb r8.a3.09-build_28 r8.a3.09-build_29 r8.a3.09-build_30
wlconf: change default core.ht.rx_ba_win_size
change default core.ht.rx_ba_win_size to 32 (0x20).
Update default.conf, example.conf and wl18xx-conf-default.bin
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
change default core.ht.rx_ba_win_size to 32 (0x20).
Update default.conf, example.conf and wl18xx-conf-default.bin
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
update sr/mr/plt firmwares to X.3.9.0.119/X.5.7.0.31
SR:
- Reconfigure internal FW templates in start role to support multiple
interfaces in SR mode (for JB)
- SDIO Logger support, Old protocol alignement and GTRACE enabled by default
- Bug Fix: Current Consumption in PLT version
MR:
- SDIO Logger support, Old protocol alignement and GTRACE enabled by default
Signed-off-by: Ido Reis <idor@ti.com>
SR:
- Reconfigure internal FW templates in start role to support multiple
interfaces in SR mode (for JB)
- SDIO Logger support, Old protocol alignement and GTRACE enabled by default
- Bug Fix: Current Consumption in PLT version
MR:
- SDIO Logger support, Old protocol alignement and GTRACE enabled by default
Signed-off-by: Ido Reis <idor@ti.com>
11 years agowlconf: update wlconf_unit_test.xlsx to latest ol_r8.a3.10 r8.a3.09-build_23 r8.a3.09-build_24 r8.a3.09-build_25 r8.a3.09-build_27
wlconf: update wlconf_unit_test.xlsx to latest
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf : update HP SISO tx power in ini file
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: fix a bug in -b option
This option allows to read another struct.bin file. The bug
was that the file was not read even when passed in -b
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
This option allows to read another struct.bin file. The bug
was that the file was not read even when passed in -b
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: update unit test plan
update wlconf unit test plan including tests folder
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
update wlconf unit test plan including tests folder
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wl_logproxy: updated to latest version
wl_logproxy was updated to latest ane greatest version.
thanks to Gil Barak.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wl_logproxy was updated to latest ane greatest version.
thanks to Gil Barak.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
log proxy utility added
FW logger over sdio is now being forwarded via socket over adb
Signed-off-by: Ido Reis <idor@ti.com>
FW logger over sdio is now being forwarded via socket over adb
Signed-off-by: Ido Reis <idor@ti.com>
update sr/mr firmware to X.3.9.0.118/X.5.7.0.30
Victoria Rev 6.3.9.0.118 / 7.3.9.0.118 - GuyM
SR:
- Increase the Role DB to 5 records (Each IF enables DEV and STA roles).
- Support scan (DEV role enabled and not started) while AP/GO is running using
SR FW by not attempting to enter power save.
- Added mechanism to allow AP/GO beacons to be transmitted in between passive
scan.
- Increase the AP/GO Beacon priority to 3.
- rx_complete_1273.c: remove "nokia camp" patch in order to not drop frames on
the second interface.
- IEIterator_GetNextIe function bug fix: Check if the remainingSize is valid
(the remainingSize cannot be 1 or negative). We do it to protect of frames
that don't have CRC error but have wrong data at the IE section.
- host_slav_manager.c: Allocate an extra memblock for FW generated frames also
for Data frames.
- Update the usage of the connection scan - in function
ConnectionScanScheduleNextCycle use the value pointed by the
intervalIndexToUse instead of intervalIndexToUse itself.
- Bug Fix MCS00112566 - WiFi Direct: Recovery occurs after successful
group formation. PowerSaveModule_ExitPowerSaveByClient() - function
callback points to null!
MR:
- Update the DISABLE_PV macro - make sure that the DISABLE_PV operation is
atomic. Therefore we added a READ_PV() action in order to have HW ack that
program operation was canceled successfully.
- Init the frame control when init the QOS NULL Template (setTXQOSNulTemplate)
- Free the security context of the broadcast keys for AP based roles.
- Bug Fix MCS00115363: Schedule Scan in Multi Role is acting different than
in Single Role.
- Added Suspend role for AP/GO:
1. Added mechanism to suspend/resume Beacons.
2. Update the MRS logic so that STA Based roles will have priority when
choosing the operation channel.
- IEIterator_GetNextIe function bug fix: Check if the remainingSize is valid
(the remainingSize cannot be 1 or negative). We do it to protect of frames
that don't have CRC error but have wrong data at the IE section.
- host_slav_manager.c: Allocate an extra memblock for FW generated frames
also for Data frames.
- Update the usage of the connection scan - in function
ConnectionScanScheduleNextCycle use the value instead of the index.
- Bug Fix MCS00112566 - WiFi Direct: Recovery occurs after successful
group formation.
PowerSaveModule_ExitPowerSaveByClient() - function callback points to null!
Signed-off-by: Ido Reis <idor@ti.com>
Victoria Rev 6.3.9.0.118 / 7.3.9.0.118 - GuyM
SR:
- Increase the Role DB to 5 records (Each IF enables DEV and STA roles).
- Support scan (DEV role enabled and not started) while AP/GO is running using
SR FW by not attempting to enter power save.
- Added mechanism to allow AP/GO beacons to be transmitted in between passive
scan.
- Increase the AP/GO Beacon priority to 3.
- rx_complete_1273.c: remove "nokia camp" patch in order to not drop frames on
the second interface.
- IEIterator_GetNextIe function bug fix: Check if the remainingSize is valid
(the remainingSize cannot be 1 or negative). We do it to protect of frames
that don't have CRC error but have wrong data at the IE section.
- host_slav_manager.c: Allocate an extra memblock for FW generated frames also
for Data frames.
- Update the usage of the connection scan - in function
ConnectionScanScheduleNextCycle use the value pointed by the
intervalIndexToUse instead of intervalIndexToUse itself.
- Bug Fix MCS00112566 - WiFi Direct: Recovery occurs after successful
group formation. PowerSaveModule_ExitPowerSaveByClient() - function
callback points to null!
MR:
- Update the DISABLE_PV macro - make sure that the DISABLE_PV operation is
atomic. Therefore we added a READ_PV() action in order to have HW ack that
program operation was canceled successfully.
- Init the frame control when init the QOS NULL Template (setTXQOSNulTemplate)
- Free the security context of the broadcast keys for AP based roles.
- Bug Fix MCS00115363: Schedule Scan in Multi Role is acting different than
in Single Role.
- Added Suspend role for AP/GO:
1. Added mechanism to suspend/resume Beacons.
2. Update the MRS logic so that STA Based roles will have priority when
choosing the operation channel.
- IEIterator_GetNextIe function bug fix: Check if the remainingSize is valid
(the remainingSize cannot be 1 or negative). We do it to protect of frames
that don't have CRC error but have wrong data at the IE section.
- host_slav_manager.c: Allocate an extra memblock for FW generated frames
also for Data frames.
- Update the usage of the connection scan - in function
ConnectionScanScheduleNextCycle use the value instead of the index.
- Bug Fix MCS00112566 - WiFi Direct: Recovery occurs after successful
group formation.
PowerSaveModule_ExitPowerSaveByClient() - function callback points to null!
Signed-off-by: Ido Reis <idor@ti.com>
11 years agoini: update files with tx power levels ol_r8.a3.08 ol_r8.a3.09 r8.a3.08-build_12 r8.a3.08-build_13 r8.a3.08-build_14 r8.a3.08-build_16 r8.a3.08-build_18 r8.a3.09-build_19 r8.a3.09-build_20 r8.a3.09-build_21
ini: update files with tx power levels
ini: update siso INI files
wlconf: add WLCONF_DIR define to set metafiles dir
WLCONF_DIR can be defined to set the target metafiles directory.
This dir contains the files: struct.bin, default.conf, example.conf
dictionary.txt, wl18xx-conf-default.bin.
In case of Android build this is defined as "/system/etc/wifi/wlconf/"
This allows running wlconf from every folder.
If not define then "" (current directory) is used (i.e. native Linux)
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
WLCONF_DIR can be defined to set the target metafiles directory.
This dir contains the files: struct.bin, default.conf, example.conf
dictionary.txt, wl18xx-conf-default.bin.
In case of Android build this is defined as "/system/etc/wifi/wlconf/"
This allows running wlconf from every folder.
If not define then "" (current directory) is used (i.e. native Linux)
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: struct arrays and other minor fixes
Modify conf.h to unwrap arrays of structs, i.e.
/* struct conf_tx_ac_category ac_conf[4]; */
struct conf_tx_ac_category ac_conf0;
struct conf_tx_ac_category ac_conf1;
struct conf_tx_ac_category ac_conf2;
struct conf_tx_ac_category ac_conf3;
This is an interim solution until it will be handled automatically
by wlconf (i.e. generate such struct.bin from regular conf.h)
Add updated conf files: default.conf, example.conf
Add regenerated meta files: struct.bin, wl18xx-conf-defaults.bin
Fix CRC calc to treat char and unsigned - this aligns between
ubuntu and android
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Modify conf.h to unwrap arrays of structs, i.e.
/* struct conf_tx_ac_category ac_conf[4]; */
struct conf_tx_ac_category ac_conf0;
struct conf_tx_ac_category ac_conf1;
struct conf_tx_ac_category ac_conf2;
struct conf_tx_ac_category ac_conf3;
This is an interim solution until it will be handled automatically
by wlconf (i.e. generate such struct.bin from regular conf.h)
Add updated conf files: default.conf, example.conf
Add regenerated meta files: struct.bin, wl18xx-conf-defaults.bin
Fix CRC calc to treat char and unsigned - this aligns between
ubuntu and android
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: update ini files for pg2
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
11 years agowlconf: regenerated wl18xx-conf-default.bin ol_r8.a3.05 ol_r8.a3.06 r8.a3.05-build_1 r8.a3.05-build_3 r8.a3.05-build_4 r8.a3.05-build_5
wlconf: regenerated wl18xx-conf-default.bin
file is regenerated from debugfs conf file and in addition
wlconf -X -o ... is used to fix its checksum.
This provides a temporary solution for a problem that exist when
generating with -D option: values that are array of structs
(i.e. ac_conf) are not written correctly - only first element is
written and the others contain unknown information.
This is an known issue and limitation with current wlconf
implementation.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
file is regenerated from debugfs conf file and in addition
wlconf -X -o ... is used to fix its checksum.
This provides a temporary solution for a problem that exist when
generating with -D option: values that are array of structs
(i.e. ac_conf) are not written correctly - only first element is
written and the others contain unknown information.
This is an known issue and limitation with current wlconf
implementation.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
update single role firmware to X.3.9.0.116
-Fix for Bug MCS00115194: APUT not responding to Probe Request in rate 5.5 Mbps
APUT dropped the probe request frame in the case the frame didn't include PBC on.
This is an update for Bug MCS00111501 - No need to drop the probe if it doesn't include PBC on.
-Fix for Bug MCS00115195 - SUT not responding with EAPOL response until NULL Data is transmitted while connection with WPA2 PSK security.
Problem was that (mainly in case of TI-TI) the first EAPOL frame was dropped by the SUT due to EAPOL action filter, when there is match of
lastEAPOL seq to the one stored.
In this fix we initialize the seq num of last received EAPOL frame once EAPOL exchange is completed.
Seq num is 12bits long, meaning, the init value we used is of 0xFFFF and can never be matched.
We init the value at the end of the EAPOL handshake (after connection is established) for the next EAPOL handshake (next connection)
since current handshake is over and there is no need to the current seq number value until the next handshake.
-Update the DISABLE_PV macro - make sure that the DISABLE_PV operation is atomic. Therfore we added a READ_PV() action in order to have HW ack
that program operation was cancelled successfully."
Signed-off-by: Assaf Azulay <assaf@ti.com>
-Fix for Bug MCS00115194: APUT not responding to Probe Request in rate 5.5 Mbps
APUT dropped the probe request frame in the case the frame didn't include PBC on.
This is an update for Bug MCS00111501 - No need to drop the probe if it doesn't include PBC on.
-Fix for Bug MCS00115195 - SUT not responding with EAPOL response until NULL Data is transmitted while connection with WPA2 PSK security.
Problem was that (mainly in case of TI-TI) the first EAPOL frame was dropped by the SUT due to EAPOL action filter, when there is match of
lastEAPOL seq to the one stored.
In this fix we initialize the seq num of last received EAPOL frame once EAPOL exchange is completed.
Seq num is 12bits long, meaning, the init value we used is of 0xFFFF and can never be matched.
We init the value at the end of the EAPOL handshake (after connection is established) for the next EAPOL handshake (next connection)
since current handshake is over and there is no need to the current seq number value until the next handshake.
-Update the DISABLE_PV macro - make sure that the DISABLE_PV operation is atomic. Therfore we added a READ_PV() action in order to have HW ack
that program operation was cancelled successfully."
Signed-off-by: Assaf Azulay <assaf@ti.com>
wlconf: remove padding from ht struct
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: changes to enable wl18xx-conf.bin in android
changes to enable wl18xx-conf.bin in android
changes include:
----------------
- Add new wl18xx.ht.mode param to be used instead of module params
- Add updated conf files: default.conf, example.conf
- Add regenerated meta files: struct.bin, wl18xx-conf-defaults.bin
- Add latest version of official_inis, including fixes to Board_Type
values
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
changes to enable wl18xx-conf.bin in android
changes include:
----------------
- Add new wl18xx.ht.mode param to be used instead of module params
- Add updated conf files: default.conf, example.conf
- Add regenerated meta files: struct.bin, wl18xx-conf-defaults.bin
- Add latest version of official_inis, including fixes to Board_Type
values
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
date SP1 FW: SR X.2.9.0.15 MR X.3.9.0.29
Service Pack 1 Bug Fixes:
- Fix for Bug MCS00112750: Scheduled scan stops after 12 mins & 45 secs.
- Fix for Bug MCS00108221: During BT discoverable, when exit ELP, the BT InquiryScan activity set to 1, causes Wifi scan failure.
- Fix for Bug MCS00112788: Add action to rx filter - add the possibility to set the action dynamically and differently for every filter.
- Fix for Bug MCS00112837: Increase num of Rx filters to 7 (#define MAX_DATA_FILTERS 7)
* From 2.114:
- During opening a tx BA session, if the recipient returns ADDBA response with winSize smaller than
we requested, we don't update it properly upon the TBC_Init.
- rx_streaming.c: Go over all the TIDs (8) instead of RX_STRAMING_NUM_OF_TID_SUPPORTED (4). Also send the TID instead of the TIDindex.
- RogBug Fix MCS00113136 - WiFi TGn APUT 4.2.31: The APUT doesn't turn on the HT non-member protection bit
- Eli: Bug Fix MCS00110974 - APUT : Beacon stops while UDP RX traffic - Wrong AIFSN calculation.
* From 2.112:
- Added two more Probe Request types for application scan (one shot), and changed the
Older Probe Request templates to Connection scan (sched scan) probes. also changed
the probe to be regular and role aware and role protected.
* From 1.111:
- Bug Fix Mcs00111501 Wi-Fi Wpsv2 Aput 4.2.13:The Aput Connected When Overlapped Pbc Sessions.
Fixed several issues in generic_ie_parser and anded support for pbc in probe response
1. In function FindAttribute fixed an issue where the while was stopped after one iteration.
2. In function FindAttribute fixed an issue where the pointer was increased only by attribute
payload length without the header length.
3. Added support for IE that uses BIG Endian.
4. Added function that search and indicates whether the PBC was pressed the probe response WSC IE
and we use that function to decide if to raise the probe to the host or drop it.
* From 1.109:
- Bug Fix MCS00111486: PS/ELP: ELP doesn't work anymore after re authentication with Cisco in mix UPSD mode.
- Bug Fix MCS00111349: Power save: The SUT doesn't send trigger pkt (QoS Null Data) after roaming.
- Bug Fix MCS00111892: Wi-Fi 11g APUT Certification Test 4.2.3.6 Fail.
- Bug Fix MCS00112301: SDIO crash when running BT A2DP during Wi-Fi connect/disconnect."
Signed-off-by: Assaf Azulay <assaf@ti.com>
Service Pack 1 Bug Fixes:
- Fix for Bug MCS00112750: Scheduled scan stops after 12 mins & 45 secs.
- Fix for Bug MCS00108221: During BT discoverable, when exit ELP, the BT InquiryScan activity set to 1, causes Wifi scan failure.
- Fix for Bug MCS00112788: Add action to rx filter - add the possibility to set the action dynamically and differently for every filter.
- Fix for Bug MCS00112837: Increase num of Rx filters to 7 (#define MAX_DATA_FILTERS 7)
* From 2.114:
- During opening a tx BA session, if the recipient returns ADDBA response with winSize smaller than
we requested, we don't update it properly upon the TBC_Init.
- rx_streaming.c: Go over all the TIDs (8) instead of RX_STRAMING_NUM_OF_TID_SUPPORTED (4). Also send the TID instead of the TIDindex.
- RogBug Fix MCS00113136 - WiFi TGn APUT 4.2.31: The APUT doesn't turn on the HT non-member protection bit
- Eli: Bug Fix MCS00110974 - APUT : Beacon stops while UDP RX traffic - Wrong AIFSN calculation.
* From 2.112:
- Added two more Probe Request types for application scan (one shot), and changed the
Older Probe Request templates to Connection scan (sched scan) probes. also changed
the probe to be regular and role aware and role protected.
* From 1.111:
- Bug Fix Mcs00111501 Wi-Fi Wpsv2 Aput 4.2.13:The Aput Connected When Overlapped Pbc Sessions.
Fixed several issues in generic_ie_parser and anded support for pbc in probe response
1. In function FindAttribute fixed an issue where the while was stopped after one iteration.
2. In function FindAttribute fixed an issue where the pointer was increased only by attribute
payload length without the header length.
3. Added support for IE that uses BIG Endian.
4. Added function that search and indicates whether the PBC was pressed the probe response WSC IE
and we use that function to decide if to raise the probe to the host or drop it.
* From 1.109:
- Bug Fix MCS00111486: PS/ELP: ELP doesn't work anymore after re authentication with Cisco in mix UPSD mode.
- Bug Fix MCS00111349: Power save: The SUT doesn't send trigger pkt (QoS Null Data) after roaming.
- Bug Fix MCS00111892: Wi-Fi 11g APUT Certification Test 4.2.3.6 Fail.
- Bug Fix MCS00112301: SDIO crash when running BT A2DP during Wi-Fi connect/disconnect."
Signed-off-by: Assaf Azulay <assaf@ti.com>
wlconf: modified conf.h version numbers to reflect latest
modified version numbers (WLCORE_CONF_VERSION, WL18XX_CONF_VERSION)
to reflect latest driver changes.
Generated new struct.bin and wl18xx-conf-default.bin
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
modified version numbers (WLCORE_CONF_VERSION, WL18XX_CONF_VERSION)
to reflect latest driver changes.
Generated new struct.bin and wl18xx-conf-default.bin
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: update structures to mc_internal changes
updated conf.h to include mc_internal field changes.
local subversion changed to 3 (WL18XX_CONF_VERSION 0x00020003).
regenerated relevant config files: struct.bin, default.conf, example.conf
and wl18xx-conf-default.bin.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
updated conf.h to include mc_internal field changes.
local subversion changed to 3 (WL18XX_CONF_VERSION 0x00020003).
regenerated relevant config files: struct.bin, default.conf, example.conf
and wl18xx-conf-default.bin.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
11 years agowl_logproxy: updated to latest version r5.1.01-build_12 r5.1.01-build_13 r5.1.01-build_14 r5.1.01-build_15
wl_logproxy: updated to latest version
wl_logproxy was updated to latest ane greatest version.
thanks to Gil Barak.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wl_logproxy was updated to latest ane greatest version.
thanks to Gil Barak.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: copy configuration files to android
all relevant configuration and ini files are now copied to:
/system/etc/wifi/wlconf
/system/etc/wifi/wlconf/official_inis
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
all relevant configuration and ini files are now copied to:
/system/etc/wifi/wlconf
/system/etc/wifi/wlconf/official_inis
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: add sta_sleep_auth field in conf.h
conf.h was modified to reflect driver conf.h changes and now includes
sta_sleep_auth field.
default.conf and example.conf were modified to include this field
a new struct.bin was generated from conf.h
a new wl18xx-conf-defaults.bin was generated from default.conf
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
conf.h was modified to reflect driver conf.h changes and now includes
sta_sleep_auth field.
default.conf and example.conf were modified to include this field
a new struct.bin was generated from conf.h
a new wl18xx-conf-defaults.bin was generated from default.conf
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: add -D option to recreate default configuration bin file
Add -D option to recreate default configuration bin file (wl18xx-conf-default.bin)
This is used in case we update conf.h structures and we need to recreate
defaults.
default.conf text file was added and is the base for creating the bin file
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Add -D option to recreate default configuration bin file (wl18xx-conf-default.bin)
This is used in case we update conf.h structures and we need to recreate
defaults.
default.conf text file was added and is the base for creating the bin file
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: write/read struct.bin is now platform independent
struct.bin contain different elements that are int32. wlconf
was using int and size_t to write and read these elements from
struct.bin.
This is problematic because int and size_t are platform dependent,
i.e. in ubuntu 64bit size_t is defined as uint64.
wlconf was changed to use int32 when reading and writing and convert
to/from int, size_t, etc...
Now wlconf works ok on ubuntu x86-64, Android, Linux-Arm, etc...
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
struct.bin contain different elements that are int32. wlconf
was using int and size_t to write and read these elements from
struct.bin.
This is problematic because int and size_t are platform dependent,
i.e. in ubuntu 64bit size_t is defined as uint64.
wlconf was changed to use int32 when reading and writing and convert
to/from int, size_t, etc...
Now wlconf works ok on ubuntu x86-64, Android, Linux-Arm, etc...
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
wlconf: Fix parsing of comments
When parsing conf.h wlconf uses regular expression to find and remove
comments.
There was a bug in the regular expression that caused the Android
version to remove also non-comments lines.
For example:
------------
After start of comment (/*) the following was used to skip non end-of-comment:
([^*]|[^*][^/])*
This is buggy because we want to skip anything not ([*][/]))*
but (not ([*][/])) doesn't translate to [^*][^/] (de-morgan ;-))
It does translate to
[^*] or ([*] but not [^/])
So the correct skipping expression is:
([^*]|[*][^/])*
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
When parsing conf.h wlconf uses regular expression to find and remove
comments.
There was a bug in the regular expression that caused the Android
version to remove also non-comments lines.
For example:
------------
After start of comment (/*) the following was used to skip non end-of-comment:
([^*]|[^*][^/])*
This is buggy because we want to skip anything not ([*][/]))*
but (not ([*][/])) doesn't translate to [^*][^/] (de-morgan ;-))
It does translate to
[^*] or ([*] but not [^/])
So the correct skipping expression is:
([^*]|[*][^/])*
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
11 years agowlconf: better Android getline implementation ol_r8.a3.01 ol_r8.a3.02 r5.1.01-build_10 r5.1.01-build_11 r8.a2.07-build_140 r8.a2.07-build_141 r8.a2.07-build_146 r8.a2.08-candidate
wlconf: better Android getline implementation
a better getline implementation using fgetln that is semantically
equivalent to GNU getline
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
a better getline implementation using fgetln that is semantically
equivalent to GNU getline
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
11 years agoUpdate firmwares: single role : X.3.10.2.115, multi role : X.5.7.0.27 ol_r5.1.03 r5.1.01-build_5 r5.1.01-build_8 r8.a2.07-build_136 r8.a2.07-build_139
Update firmwares: single role : X.3.10.2.115, multi role : X.5.7.0.27
- Add support in new logger over SDIO.
- Completely disable the PHY CLOCK GATE feature to prevent
future PHY access exceptions during power-down.
Signed-off-by: Assaf Azulay <assaf@ti.com>
- Add support in new logger over SDIO.
- Completely disable the PHY CLOCK GATE feature to prevent
future PHY access exceptions during power-down.
Signed-off-by: Assaf Azulay <assaf@ti.com>
Porting the wlconf file for Android
Avoid freeing the buffer returned by fgetln() in case of Android
Signed-off-by: Pradeep Gurumath <pradeepgurumath@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Avoid freeing the buffer returned by fgetln() in case of Android
Signed-off-by: Pradeep Gurumath <pradeepgurumath@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
updating the multi role FW due to template bug
Signed-off-by: Assaf Azulay <assaf@ti.com>
Signed-off-by: Assaf Azulay <assaf@ti.com>
Update wl6/7 FW versions : single role X.3.10.2.114 multi role: X.5.7.0.26
Single Role Firmware
===================
6.3.8.1.111/ 7.3.8.1.111
- fix for invalid 11n incoming beacons we set the duration for HT mixed
Mode.
- Bug Fix Mcs00111501 Wi-Fi Wpsv2 Aput 4.2.13:The Aput Connected When
Overlapped Pbc Sessions.
Fixed several issues in generic_ie_parser and anded support
for pbc in probe response
1. In function FindAttribute fixed an issue where the while
was stopped after one iteration.
2. In function FindAttribute fixed an issue where the pointer
was increased only by attribute payload length without
the header length.
3. Added support for IE that uses BIG Endian.
4. Added function that search and indicates whether the PBC
was pressed the probe response WSC IE
and we use that function to decide if to raise the probe
to the host or drop it.
- fix Security Padding (Under a compliation flag ,FW_SECURITY_PADDING
- Default = Disabled!!!!) : Move Security Padding handler from Host
to FW. FW will be in charge for adding the security padding for
each data packet according to security type.
- Bug Fix MCS00111964 - Schedule scan: Detecting of AP with suitable SSID
, but not suitable privacy causes recovery during scheduled scan.
- Bug fix MCS00112154 (SUT): QuattroL HP-FEM; 2.4GHz; HW_WD_EXPIRE FW
PC=0x21de2 during Connection on CH 11.
On HP FEM reduce Rx gain level for LTE better coexistence
- Bug Fix MCS00112566 - WiFi Direct: Recovery occurs after successful
group formation.
PowerSaveModule_ExitPowerSaveByClient() - function callback points
to null!
6.3.9.2.112/ 7.3.9.2.112
- Added two more Probe Request types for application scan (one shot),
and changed the
Older Probe Request templates to Connection scan (sched scan)
probes. also changed
the probe to be regular and role aware and role protected.
- Enabling connection scan while STA is connected.
The whole connection scan process was wrapped with enter/exit
power save.
A client (POWER_SAVE_CONN_SCAN_CLIENT_ID) for the connection
scan was added to the PS module. PS module is now responsible
of launching the connection scan process by invoking
ProcessConnectionScanEnterPSCB after entering PS success.
6.3.10.2.113/ 7.3.10.2.113
- IPv6 Feature offloading -
added functionality to Fw for Auto response to Neighbour
Solicitaion frames.
6.3.10.2.114/ 7.3.10.2.114
- During opening a tx ba seesion, if the recipient returns addba response
with winSize smaller than we requested, we don't update it properly
upon the TBC_Init.
- rx_streaming.c: Go over all the TIDs (8) instead of
RX_STRAMING_NUM_OF_TID_SUPPORTED (4). Also send the TID instead of
the TIDindex.
- Bug Fix MCS00113136 - WiFi TGn APUT 4.2.31: The APUT doesn't turn on
the HT non-member protection bit
- Bug Fix MCS00110974 - APUT : Beacon stops while UDP RX traffic - Wrong
AIFSN calculation.
- Bug Fix for TC5.2.2 - PM bit was set in the probe request.
Multi Role Firmware
===================
6.5.6.0.24 / 7.5.6.0.24
- Universal scan feature
6.5.7.0.25 / 7.5.7.0.25
- Enabling connection scan while STA is connected.
The whole connection scan process was wrapped with enter/exit
power save.
A client (POWER_SAVE_CONN_SCAN_CLIENT_ID) for the connection
can was added to the PS module. PS module is now responsible
of launching the connection scan process by invoking
processConnectionScanEnterPSCB after entering PS success.
- Align the IPv6 APIs with the Host. IPv6 offload is not supported in
MR FW. FW will return CMD_STATUS_SUCCESS.
6.5.7.0.26 / 7.5.7.0.26
- During opening a tx ba seesion, if the recipient returns addba response
with winSize smaller than we requested, we don't update it properly
upon the TBC_Init.
- Bug Fix MCS00112495:BSS preamble: worng duration.
We didn't configure correctly the immediate response rate.
We need to used FW format of rates and not the HW format.
- Wrong calculation of the MPDU size. This is because the FwCtrl of the
fw-generated was not initialized.
- Bug Fix MCS00111964: Schedule scan: Detecting of AP with suitable SSID,
but not suitable privacy causes recovery during scheduled scan.
- fix for invalid 11n incoming beacons we set the duration for HT mixed Mode.
- Bug Fix MCS00102599 FW - R5 MR: ""keep alive"" frames are NOT sent.
- The auto ARP address3 was not set correctly in TxEngine_PrepTemplateHeader.
Instead it is set in arpFltr_dequeueResponseFrameInfo.
- Bug Fix MCS00110974 - APUT : Beacon stops while UDP RX traffic - Wrong
AIFSN calculation.
- Bug Fix for TC5.2.2 - PM bit was set in the probe request
Signed-off-by: Assaf Azulay <assaf@ti.com>
Single Role Firmware
===================
6.3.8.1.111/ 7.3.8.1.111
- fix for invalid 11n incoming beacons we set the duration for HT mixed
Mode.
- Bug Fix Mcs00111501 Wi-Fi Wpsv2 Aput 4.2.13:The Aput Connected When
Overlapped Pbc Sessions.
Fixed several issues in generic_ie_parser and anded support
for pbc in probe response
1. In function FindAttribute fixed an issue where the while
was stopped after one iteration.
2. In function FindAttribute fixed an issue where the pointer
was increased only by attribute payload length without
the header length.
3. Added support for IE that uses BIG Endian.
4. Added function that search and indicates whether the PBC
was pressed the probe response WSC IE
and we use that function to decide if to raise the probe
to the host or drop it.
- fix Security Padding (Under a compliation flag ,FW_SECURITY_PADDING
- Default = Disabled!!!!) : Move Security Padding handler from Host
to FW. FW will be in charge for adding the security padding for
each data packet according to security type.
- Bug Fix MCS00111964 - Schedule scan: Detecting of AP with suitable SSID
, but not suitable privacy causes recovery during scheduled scan.
- Bug fix MCS00112154 (SUT): QuattroL HP-FEM; 2.4GHz; HW_WD_EXPIRE FW
PC=0x21de2 during Connection on CH 11.
On HP FEM reduce Rx gain level for LTE better coexistence
- Bug Fix MCS00112566 - WiFi Direct: Recovery occurs after successful
group formation.
PowerSaveModule_ExitPowerSaveByClient() - function callback points
to null!
6.3.9.2.112/ 7.3.9.2.112
- Added two more Probe Request types for application scan (one shot),
and changed the
Older Probe Request templates to Connection scan (sched scan)
probes. also changed
the probe to be regular and role aware and role protected.
- Enabling connection scan while STA is connected.
The whole connection scan process was wrapped with enter/exit
power save.
A client (POWER_SAVE_CONN_SCAN_CLIENT_ID) for the connection
scan was added to the PS module. PS module is now responsible
of launching the connection scan process by invoking
ProcessConnectionScanEnterPSCB after entering PS success.
6.3.10.2.113/ 7.3.10.2.113
- IPv6 Feature offloading -
added functionality to Fw for Auto response to Neighbour
Solicitaion frames.
6.3.10.2.114/ 7.3.10.2.114
- During opening a tx ba seesion, if the recipient returns addba response
with winSize smaller than we requested, we don't update it properly
upon the TBC_Init.
- rx_streaming.c: Go over all the TIDs (8) instead of
RX_STRAMING_NUM_OF_TID_SUPPORTED (4). Also send the TID instead of
the TIDindex.
- Bug Fix MCS00113136 - WiFi TGn APUT 4.2.31: The APUT doesn't turn on
the HT non-member protection bit
- Bug Fix MCS00110974 - APUT : Beacon stops while UDP RX traffic - Wrong
AIFSN calculation.
- Bug Fix for TC5.2.2 - PM bit was set in the probe request.
Multi Role Firmware
===================
6.5.6.0.24 / 7.5.6.0.24
- Universal scan feature
6.5.7.0.25 / 7.5.7.0.25
- Enabling connection scan while STA is connected.
The whole connection scan process was wrapped with enter/exit
power save.
A client (POWER_SAVE_CONN_SCAN_CLIENT_ID) for the connection
can was added to the PS module. PS module is now responsible
of launching the connection scan process by invoking
processConnectionScanEnterPSCB after entering PS success.
- Align the IPv6 APIs with the Host. IPv6 offload is not supported in
MR FW. FW will return CMD_STATUS_SUCCESS.
6.5.7.0.26 / 7.5.7.0.26
- During opening a tx ba seesion, if the recipient returns addba response
with winSize smaller than we requested, we don't update it properly
upon the TBC_Init.
- Bug Fix MCS00112495:BSS preamble: worng duration.
We didn't configure correctly the immediate response rate.
We need to used FW format of rates and not the HW format.
- Wrong calculation of the MPDU size. This is because the FwCtrl of the
fw-generated was not initialized.
- Bug Fix MCS00111964: Schedule scan: Detecting of AP with suitable SSID,
but not suitable privacy causes recovery during scheduled scan.
- fix for invalid 11n incoming beacons we set the duration for HT mixed Mode.
- Bug Fix MCS00102599 FW - R5 MR: ""keep alive"" frames are NOT sent.
- The auto ARP address3 was not set correctly in TxEngine_PrepTemplateHeader.
Instead it is set in arpFltr_dequeueResponseFrameInfo.
- Bug Fix MCS00110974 - APUT : Beacon stops while UDP RX traffic - Wrong
AIFSN calculation.
- Bug Fix for TC5.2.2 - PM bit was set in the probe request
Signed-off-by: Assaf Azulay <assaf@ti.com>
calibrator: rename HP TQS ini files and copy to system/etc/wifi
HP TQS ini files were renamed to be in the same naming style as
the other FEM ini files including file's mode
Andorid.mk was moodifed to copy the new files to:
/system/etc/wifi/ini_files
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
HP TQS ini files were renamed to be in the same naming style as
the other FEM ini files including file's mode
Andorid.mk was moodifed to copy the new files to:
/system/etc/wifi/ini_files
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
update wl6/7 singel role FW to X.3.9.2.112
Signed-off-by: Assaf Azulay <assaf@ti.com>
Signed-off-by: Assaf Azulay <assaf@ti.com>
calibrator: HP_FEM, add new ini files for TQS HP FEM
Add new ini files for TQS HP FEM type (type=2) for radio 127x
and 128x
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Add new ini files for TQS HP FEM type (type=2) for radio 127x
and 128x
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
calibrator: HP_FEM, add support for optional ini file parameters
In current implementation, parsing of ini files expect a certain amount
of parameters/values to exist for each params section. This prevents
optional params - in other words all params must exist
The new ini files for HP FEM has some optional params - i.e. SRF
params do not exist
In order to support this the parsing now checks if we started a new
params section even if we didn't finish the previous one. This in fact
allows for optional params
A log is now printed out to indicate this situation to the user
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
In current implementation, parsing of ini files expect a certain amount
of parameters/values to exist for each params section. This prevents
optional params - in other words all params must exist
The new ini files for HP FEM has some optional params - i.e. SRF
params do not exist
In order to support this the parsing now checks if we started a new
params section even if we didn't finish the previous one. This in fact
allows for optional params
A log is now printed out to indicate this situation to the user
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
calibrator: HP_FEM, add support for new FEMs in nvs file
nvs file is now fully supported with new FEM types (2 and 3)
including all relevant calibrator commands, error checkings and
printouts.
While FEM manuf can be 0,1,2,3 the FEM radio params are always
stored in one of two entries: 0,1 (all FEM except 1 are stored
in entry 0).
Auto FEM detection support is still done by driver, therefore
it is still limited to FEM types 0 and 1.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
nvs file is now fully supported with new FEM types (2 and 3)
including all relevant calibrator commands, error checkings and
printouts.
While FEM manuf can be 0,1,2,3 the FEM radio params are always
stored in one of two entries: 0,1 (all FEM except 1 are stored
in entry 0).
Auto FEM detection support is still done by driver, therefore
it is still limited to FEM types 0 and 1.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
calibrator: HP_FEM, add parsing for FEM_2 and FEM3
Increase number of FEM types to 4 and Add parsing routines for
FEM_2 (SKW) and FEM_3(HP) including all relevant type changes.
This is only done in the parsing level. Calibrator still only
supports FEM_0 and FEM_2 (small change in nvs.c to ensure this)
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Increase number of FEM types to 4 and Add parsing routines for
FEM_2 (SKW) and FEM_3(HP) including all relevant type changes.
This is only done in the parsing level. Calibrator still only
supports FEM_0 and FEM_2 (small change in nvs.c to ensure this)
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
calibrator: HP_FEM, Change order of parsing function
Change the order of FEMx parsing functions to be consistent for
all FEM types. Also changed order accordingly in find_section
routine. This will also make reviewing of new FEM types easier
(if they use the same consistency rule)
Order of functions is now:
=========================
2.4G band routines
------------------
parse_fem0_band2_prms
parse_fem0_band2_prms_128x
parse_fem1_band2_prms
parse_fem1_band2_prms_128x
...
...
5G band routines
----------------
parse_fem0_band5_prms
parse_fem0_band5_prms_128x
parse_fem1_band5_prms
parse_fem1_band5_prms_128x
...
...
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Change the order of FEMx parsing functions to be consistent for
all FEM types. Also changed order accordingly in find_section
routine. This will also make reviewing of new FEM types easier
(if they use the same consistency rule)
Order of functions is now:
=========================
2.4G band routines
------------------
parse_fem0_band2_prms
parse_fem0_band2_prms_128x
parse_fem1_band2_prms
parse_fem1_band2_prms_128x
...
...
5G band routines
----------------
parse_fem0_band5_prms
parse_fem0_band5_prms_128x
parse_fem1_band5_prms
parse_fem1_band5_prms_128x
...
...
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
calibrator: HP_FEM, Fix logs and printouts
Fix a typo in calibration log of radio_status
Change printout of FEM to print both manufacturer and index
(as they might be different - i.e. for FEM types 2 and 3)
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Fix a typo in calibration log of radio_status
Change printout of FEM to print both manufacturer and index
(as they might be different - i.e. for FEM types 2 and 3)
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
calibrator: HP_FEM, separate ini structure from nvs_ini structure
This is done as preperation for supporting new FEM types, i.e.
HP_FEM (type 3) and SKW(type 2) that will be added soon.
nvs writing of ini params was modified to use new nvs_ini struct
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
This is done as preperation for supporting new FEM types, i.e.
HP_FEM (type 3) and SKW(type 2) that will be added soon.
nvs writing of ini params was modified to use new nvs_ini struct
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: Add getline macro in case of Android
Android stdio.h is missing the getline() function. Added getline
macro to main.c based on bionic stdio.h fgetln function
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Ido Reis <idor@ti.com>
Android stdio.h is missing the getline() function. Added getline
macro to main.c based on bionic stdio.h fgetln function
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Ido Reis <idor@ti.com>
update README with wl18xx_plt set_tx_power description
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Ido Reis <idor@ti.com>
wlconf: move some definitions to new wlconf.h
Some of the definitions belong in a header file. Create a new
wlconf.h file and move some of the structure and macro definitions to
it.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Some of the definitions belong in a header file. Create a new
wlconf.h file and move some of the structure and macro definitions to
it.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: use get_value() to print the structs and clean-up
Reuse the get_value() function to print the entire structure tree
(without data) and add a test case to cover it.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Reuse the get_value() function to print the entire structure tree
(without data) and add a test case to cover it.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: remove dump option and allow get to print the root
Instead of treating the dump case separately, change the get function
so that it can also print out the entire tree, starting from the root
structure. Remove --dump option.
Add a test case to make sure reading, writing back and reading again
works fine.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Instead of treating the dump case separately, change the get function
so that it can also print out the entire tree, starting from the root
structure. Remove --dump option.
Add a test case to make sure reading, writing back and reading again
works fine.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: update example.conf to contain all possible elements
Update the example.conf file so that it now contains all the default
values that are in the wl18xx-conf-default.bin file. These are all
the values currently used by the driver.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Update the example.conf file so that it now contains all the default
values that are in the wl18xx-conf-default.bin file. These are all
the values currently used by the driver.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: don't dump by default
Using the dump command as a default may be confusing. Just print the
usage instead.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Using the dump command as a default may be confusing. Just print the
usage instead.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: refactor print_element() to support structures
In order to get entire structures with the --get command, the
print_element() function has been refactored so that it can print
structures as well.
Add unit tests to verify different variations of the the get command.
Signed-off-by: Luciano Coelho <coelho@ti.com>
In order to get entire structures with the --get command, the
print_element() function has been refactored so that it can print
structures as well.
Add unit tests to verify different variations of the the get command.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: add support for arrays in INI files
Implement support for setting full arrays from INI files. The tool
now accepts space-separated values for array elements.
Update the valid test case and add more test cases to verify that too
big and too small arrays or too long array strings generate errors.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Implement support for setting full arrays from INI files. The tool
now accepts space-separated values for array elements.
Update the valid test case and add more test cases to verify that too
big and too small arrays or too long array strings generate errors.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: fix memory leak in translate_ini()
We were not freeing the translated_str string in this function nor
checking that the string could be allocated.
Signed-off-by: Luciano Coelho <coelho@ti.com>
We were not freeing the translated_str string in this function nor
checking that the string could be allocated.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: add support for arrays in text configuration files
Implement support for setting full arrays from text configuration
files. The tool now accepts comma-separated values for array
elements.
Update the valid test case and add two more test cases to verify that
too big and too small arrays generate errors.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Implement support for setting full arrays from text configuration
files. The tool now accepts comma-separated values for array
elements.
Update the valid test case and add two more test cases to verify that
too big and too small arrays generate errors.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: remove CR and LF from the text file regexes
We don't support multiline values in the text configuration,
dictionary and INI file formats. Remove the \r and \n from the
relevant regular expressions.
Signed-off-by: Luciano Coelho <coelho@ti.com>
We don't support multiline values in the text configuration,
dictionary and INI file formats. Remove the \r and \n from the
relevant regular expressions.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: fix print_data code to support arrays properly
Previously only u32 arrays were printed. Now we also print arrays of
other sizes and produce a cleaner output, in a single-line for
compatibility with the .conf file format.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Previously only u32 arrays were printed. Now we also print arrays of
other sizes and produce a cleaner output, in a single-line for
compatibility with the .conf file format.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: add a directory with the official INI files
Create a new directory official_inis to contain the official INI files
distributed by TI and populate it with the current ones. Clean up the
example.ini file to avoid windowsisms like non-ansi characters and
CRLFs.
Additionally, use a symbolic link for test-3.3.ini instead of using a
copy.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Create a new directory official_inis to contain the official INI files
distributed by TI and populate it with the current ones. Clean up the
example.ini file to avoid windowsisms like non-ansi characters and
CRLFs.
Additionally, use a symbolic link for test-3.3.ini instead of using a
copy.
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlconf: merge parse_ini() and parse_text_conf() into a single function
These two functions were doing basically the same thing, with the
difference that the INI version was doing a translation into the
internal conf format and using a different regex. To avoid lots of
duplicate code, we can pass the file type and let the function decide
what to do.
Signed-off-by: Luciano Coelho <coelho@ti.com>
These two functions were doing basically the same thing, with the
difference that the INI version was doing a translation into the
internal conf format and using a different regex. To avoid lots of
duplicate code, we can pass the file type and let the function decide
what to do.
Signed-off-by: Luciano Coelho <coelho@ti.com>