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

add a wifi driver #40

Open
chombourger opened this issue Nov 26, 2020 · 2 comments
Open

add a wifi driver #40

chombourger opened this issue Nov 26, 2020 · 2 comments

Comments

@chombourger
Copy link
Collaborator

Some test suites require having a Wi-Fi access point to exercise their 802.11 stack. We could plug a USB Wi-Fi dongle to our NanoPI and provide APIs (most likely simple wrappers around NetworkManager calls) and configure it as an Access Point.

@vj-kumar
Copy link
Contributor

If I understand correcly, We need to be able to configure the WiFi over mtda(as AP) so that some wifi test cases(perf/ping) can use that instead of having the need to have some external wifi hardware.

@chombourger
Copy link
Collaborator Author

If I understand correcly, We need to be able to configure the WiFi over mtda(as AP) so that some wifi test cases(perf/ping) can use that instead of having the need to have some external wifi hardware.

the use-case is that some devices to be tested will have Wi-Fi capabilities. We would like the board assist (like the Nanopi R1) to gain Wi-Fi activities. We could then write tests to configure the NanoPI as an Access Point, set a specific PSK, deliver a DHCP address, etc.

Some potential mtda-cli calls:

mtda-cli wifi mode ap
mtda-cli wifi ssid test-network
mtda-cli wifi security WPA2/PSK
mtda-cli wifi psk HackMe!
mtda-cli wifi on

we may also want to have a dhcp interface so we could enable/configure a DHCP server on the nanopi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants