Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi 7743 #610

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
aeaa38f
fixed the channels
Jyothsna-setti Apr 5, 2022
e51b1d0
channels fixed
Jyothsna-setti Apr 5, 2022
f6d02f8
Merge branch 'master' of https://github.com/Telecominfraproject/wlan-…
Jyothsna-setti Apr 5, 2022
e79703c
Merge branch 'master' of https://github.com/Telecominfraproject/wlan-…
Jyothsna-setti Apr 12, 2022
0112ce8
Removed unwanted code
Jyothsna-setti Apr 24, 2022
bcec9cc
Removed unwanted markers and made some changes in country code SG(and…
Jyothsna-setti Apr 24, 2022
130c33f
Removed unwanted files
Jyothsna-setti Apr 25, 2022
7d39e07
Removed unnecessary spaces in test_general_security_modes
Jyothsna-setti Apr 25, 2022
1b9d372
Added a new marker in country code JP(IOS)
Jyothsna-setti Apr 25, 2022
420077c
removed unnecessary files
Jyothsna-setti Apr 25, 2022
250ed4f
added a new marker in country US(IOS)
Jyothsna-setti Apr 25, 2022
7aa0d9d
solved the conflicts
Jyothsna-setti Apr 27, 2022
ccd5232
Merge branch 'master' of https://github.com/Telecominfraproject/wlan-…
Jyothsna-setti May 6, 2022
b502eb2
Merge branch 'master' of https://github.com/Telecominfraproject/wlan-…
Jyothsna-setti May 10, 2022
11812e1
Maverick Testcase
Jyothsna-setti May 20, 2022
533057a
Added maverick code
Jyothsna-setti May 20, 2022
ba65ea5
Maverick
Jyothsna-setti May 20, 2022
baf49c6
trail code in maverick
Jyothsna-setti May 20, 2022
73c8e67
Trail maverick testcase
Jyothsna-setti May 20, 2022
6347999
Ap succesfully converted to maverick state
Jyothsna-setti May 23, 2022
0066c97
Removed unnecessary code
Jyothsna-setti May 23, 2022
1126dad
MAVERICK testcases
Jyothsna-setti Jun 3, 2022
d10aa99
Maverick android
Jyothsna-setti Jun 8, 2022
1f7a493
maverick testcases
Jyothsna-setti Jun 10, 2022
6a2e591
fixed markers
Jyothsna-setti Jun 10, 2022
10de934
maverick
Jyothsna-setti Jun 14, 2022
9eb0342
maverick Android and IOS
Jyothsna-setti Jun 15, 2022
1ed2f77
Speed test by ookla
Jyothsna-setti Jul 5, 2022
4b1f880
Speedtest
Jyothsna-setti Jul 5, 2022
90df237
speedtest
Jyothsna-setti Jul 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions libs/apnos/apnos.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,46 @@ def get_wifi_status(self):
print(e)
return json_output

def set_maverick(self):
try:
client = self.ssh_cli_connect()
cmd = "/etc/init.d/ucentral stop && /usr/libexec/ucentral/maverick.sh"
if self.mode:
cmd = f"cd ~/cicd-git/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \
f"cmd --value \"{cmd}\" "
stdin, stdout, stderr = client.exec_command(cmd)
output = stdout.read().replace(b":~# /etc/init.d/ucentral stop && /usr/libexec/ucentral/maverick.sh", b"").decode('utf-8')
o = output.split()
maverick_bssid_data = {}
for i in range(len(o)):
if o[i].__contains__("ESSID"):
if o[i + 9].__contains__("2.4"):
band = "2G"
else:
band = "5G"
maverick_bssid_data[o[i - 1]] = [o[i + 1].replace('"', ''), o[i + 4], band]
client.close()
except Exception as e:
maverick_bssid_data = False
print(e)
return maverick_bssid_data

# def imav(self, get_apnos, get_configuration):
# for access_point in get_configuration['access_point']:
# ap_ssh = get_apnos(access_point, pwd="../libs/apnos/", sdk="2.x")
# maverick = ap_ssh.set_maverick()
# print("maverick:")
# print(maverick)
# iwinfo = ap_ssh.get_iwinfo()
# print("iwinfo:")
# print(iwinfo)
# return iwinfo
# for key, value in iwinfo.items():
# # print(key, ' : ',value)
# # print(value)



def get_iwinfo(self):
try:
# [['ssid_wpa2_2g', 'wpa', 'something', '2G'], ['ssid_wpa2_2g', 'wpa', 'something', '5G']]
Expand All @@ -471,6 +511,7 @@ def get_iwinfo(self):
print(e)
return iwinfo_bssid_data


def iwinfo(self):
client = self.ssh_cli_connect()
cmd = "iwinfo"
Expand All @@ -483,6 +524,20 @@ def iwinfo(self):
client.close()
return o


# def set_maverick(self, get_configuration, get_apnos):
# client = self.ssh_cli_connect()
# cmd = "/etc/init.d/ucentral stop && /usr/libexec/ucentral/maverick.sh"
# if self.mode:
# cmd = f"cd ~/cicd-git/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \
# f"cmd --value \"{cmd}\" "
# stdin, stdout, stderr = client.exec_command(cmd)
# output = stdout.read().replace(b":~# /etc/init.d/ucentral stop && /usr/libexec/ucentral/maverick.sh ", b"").decode('utf-8')
# o = output
# client.close()
# return o


def gettxpower(self):
client = self.ssh_cli_connect()
cmd = "iw dev | grep txpower"
Expand Down
6,206 changes: 3,907 additions & 2,299 deletions libs/perfecto_libs/android_lib.py

Large diffs are not rendered by default.

Loading