mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2025-07-31 20:31:05 +00:00
update
This commit is contained in:
parent
fb8cc58058
commit
0cefdb9956
6 changed files with 40 additions and 15 deletions
|
@ -468,6 +468,15 @@ int wext_get_tx_power(const char *ifname, __u8 *poweridx) {
|
|||
return ret;
|
||||
}
|
||||
|
||||
int wext_get_associated_client_list(const char *ifname,
|
||||
void * client_list_buffer, uint16_t buffer_length) {
|
||||
char buf[25];
|
||||
|
||||
memset(buf, 0, sizeof(buf));
|
||||
snprintf(buf, 25, "get_client_list %x", client_list_buffer);
|
||||
return wext_private_command(ifname, buf, 0);
|
||||
}
|
||||
|
||||
#if 0 // work ?
|
||||
int wext_set_txpower(const char *ifname, int poweridx) {
|
||||
int ret;
|
||||
|
@ -481,18 +490,6 @@ int wext_set_txpower(const char *ifname, int poweridx) {
|
|||
return ret;
|
||||
}
|
||||
|
||||
int wext_get_associated_client_list(const char *ifname,
|
||||
void * client_list_buffer, uint16_t buffer_length) {
|
||||
int ret;
|
||||
char buf[25];
|
||||
|
||||
memset(buf, 0, sizeof(buf));
|
||||
snprintf(buf, 25, "get_client_list %x", client_list_buffer);
|
||||
ret = wext_private_command(ifname, buf, 0);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
int wext_get_ap_info(const char *ifname, rtw_bss_info_t * ap_info,
|
||||
rtw_security_t* security) {
|
||||
int ret = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue