Search Linux Wireless

rf_kill and txpower.disabled on iwl3945

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've been having a problem where restarting the userspace handling for my 
wifi would make it stop working entirely. I eventually tracked this down 
to the conflation of txpower.disable and rf_kill; if I make siwtxpower not 
change radio_enabled, it all works as expected.

I think there are two issues:

# iwconfig iface txpower off
# echo 0 > /sys/class/net/iface/device/rf_kill
# iwconfig iface <anything>

Causes the radio to go back to being disabled, to the confusion of 
userspace (or at least, me), since it's not expected that changing other
settings will kill the radio again.

Also, I think I was having a problem with:

# iwconfig iface txpower off
# iwconfig iface txpower auto

because it tries using REPLY_TX_POWER_TABLE_CMD before it unkills the 
radio, but the part that's supposed to respond to that command is shut off 
when the radio is killed. And it seems to fail, therefore, and then not 
actually unkill the radio.

Is "txpower off" (or !radio_enabled) supposed to disable the radio 
completely (such that the driver can't turn on the chipset temporarily to 
configure it or get its configuration), or is it just supposed to be a 
power saving measure, and not affect the availability of other operations?

	-Daniel
*This .sig left intentionally blank*
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux