affdb1b8 | 22-Oct-2019 |
Purushottam Kushwaha <pkushwah@codeaurora.org> |
HS 2.0: Re-frame URL for special character (&)
hs20-action.sh on receiving events with URL, pass the string as-is to e_loop. Since e_loop uses system() API to run the commands, it recognizes & (ampe
HS 2.0: Re-frame URL for special character (&)
hs20-action.sh on receiving events with URL, pass the string as-is to e_loop. Since e_loop uses system() API to run the commands, it recognizes & (ampersand) to run the process in background.
As an initial workaround for this, format the URL containing '&' by replacing with escape character ("\\") before '&'. More robust solution can be considered separately within e_loop to avoid use of system().
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
show more ...
|
5ab5b21d | 19-Jun-2019 |
Purushottam Kushwaha <pkushwah@codeaurora.org> |
HS 2.0: Check IP address before launching hs20-osu-client browser
hs20-action.sh starts hs20-osu-client for lauching the web browser. For the ESS-DISASSOC-IMMINENT event, IP address was not checked
HS 2.0: Check IP address before launching hs20-osu-client browser
hs20-action.sh starts hs20-osu-client for lauching the web browser. For the ESS-DISASSOC-IMMINENT event, IP address was not checked and hence browser could have been launched before actual IP assignment.
Monitor for IP address availability before starting the browser from hs20-action.sh for this event similarly to the way HS20-DEAUTH-IMMINENT-NOTICE and HS20-T-C-ACCEPTANCE events were already handled.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
show more ...
|
ef9bb52b | 15-May-2019 |
Purushottam Kushwaha <pkushwah@codeaurora.org> |
HS 2.0: Use e_loop to start hs20-osu-client with more privilege
hs20-action.sh is started with wpa_cli which runs with reduced privilege in Android env (user:wifi). hs20-action.sh further starts hs2
HS 2.0: Use e_loop to start hs20-osu-client with more privilege
hs20-action.sh is started with wpa_cli which runs with reduced privilege in Android env (user:wifi). hs20-action.sh further starts hs20-osu-client with same privilege. For certain cases like starting web browser using Activity Manager (am), Android needs root/system level privilege.
This change is to run all hs20-osu-client commands in e_loop context which is started with root privilege.
NOTE: Since logs are directed to the Logs folder in hs20-action.sh, e_loop need to be started in the same path as that of hs20-action.sh.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
show more ...
|
e5e72999 | 25-Jan-2019 |
Purushottam Kushwaha <pkushwah@codeaurora.org> |
HS 2.0: Handle HS20-T-C-ACCEPTANCE event to launch URL
Hotspot 2.0 Rel3 introduced Terms and Condition acceptance test cases which requies launched a browser for the received URL. Handle this via th
HS 2.0: Handle HS20-T-C-ACCEPTANCE event to launch URL
Hotspot 2.0 Rel3 introduced Terms and Condition acceptance test cases which requies launched a browser for the received URL. Handle this via the hs20-action script.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
show more ...
|
84f98186 | 05-Sep-2018 |
Purushottam Kushwaha <pkushwah@codeaurora.org> |
HS 2.0: Remove dependency on dhcpcd from hs20-action.sh.
With the current sigma_dut, DHCP client is started once post station connection. hs20-action.sh did a similar redundant task, so remove it.
HS 2.0: Remove dependency on dhcpcd from hs20-action.sh.
With the current sigma_dut, DHCP client is started once post station connection. hs20-action.sh did a similar redundant task, so remove it.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
show more ...
|
ef36660f | 05-Sep-2018 |
Purushottam Kushwaha <pkushwah@codeaurora.org> |
HS 2.0: Support Android P path in the action script
This provides support for new control socket path used in Android P (/data/vendor/wifi/wpa/sockets/).
Signed-off-by: Jouni Malinen <jouni@codeaur
HS 2.0: Support Android P path in the action script
This provides support for new control socket path used in Android P (/data/vendor/wifi/wpa/sockets/).
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
show more ...
|
4b4cb7f7 | 01-Mar-2016 |
Kanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com> |
HS 2.0: Wait for IP addr before statting Deauth Imminent web pop-up
Sometimes in Deauth Imminent test cases, the WNM frame comes pretty quickly after connection and the web page pop-up shows ERR_ADD
HS 2.0: Wait for IP addr before statting Deauth Imminent web pop-up
Sometimes in Deauth Imminent test cases, the WNM frame comes pretty quickly after connection and the web page pop-up shows ERR_ADDRESS_UNREACHABLE because DHCP is not done by this time. To avoid this, wait for maximum for 10 seconds for the DHCP to complete before showing a web page pop-up.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
show more ...
|
cd4e3c3e | 29-Oct-2015 |
Jouni Malinen <jouni@qca.qualcomm.com> |
Import the initial version of sigma_dut open source project
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> |