Rajendra M
03/18/2023 6:02 AM
post122173
|
I am trying to set an ssid using ifconfig as shown below.
#ifconfig wlan0 ssid netgear
IOCTL which gets called in the driver is : SIOCS80211NWID
Using copyin I am trying to copy the contents as shown below.
Something like below.
if (!copyin((((caddr_t) ifr)+ sizeof(struct ifreq)), &nwid, sizeof(struct ieee80211_nwid))){
When i dump the data, I only see wlan0 but the ssid name netgear.
Can somebody help me out on this, why the driver does not receive the entire information ?
I have dumped the data up-to 1000 bytes, and I only see "wlan0".
|
|
|