When, I try to cat the speed file, in /sys/class/net I get the following error
$ cat /sys/class/net/wlan0/speed
cat: /sys/class/net/wlan0/speed: Invalid argument #throws error
Whereas, for eth0 it shows
$ cat /sys/class/net/eth0/speed
1000
Can I know the reason for the error for wlan alone. Also the duplex is unkown for wlan0 but the carrier is set to 1?