Search Linux Wireless

regulatory splat in wireless-next (3.10.0-rc1+)

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

 



I have just a few small patches in this tree, so probably not my fault :)

From this code in reg.c:

/*
 * Restoring regulatory settings involves ingoring any
 * possibly stale country IE information and user regulatory
 * settings if so desired, this includes any beacon hints
 * learned as we could have traveled outside to another country
 * after disconnection. To restore regulatory settings we do
 * exactly what we did at bootup:
 *
 *   - send a core regulatory hint
 *   - send a user regulatory hint if applicable
 *
 * Device drivers that send a regulatory hint for a specific country
 * keep their own regulatory domain on wiphy->regd so that does does
 * not need to be remembered.
 */
static void restore_regulatory_settings(bool reset_user)
{
	char alpha2[2];
	char world_alpha2[2];
	struct reg_beacon *reg_beacon, *btmp;
	struct regulatory_request *reg_request, *tmp;
	LIST_HEAD(tmp_reg_req_list);
	struct cfg80211_registered_device *rdev;

	ASSERT_RTNL();

	reset_regdomains(true, &world_regdom);
	restore_alpha2(alpha2, reset_user);


cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2472 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Disabling freq 2484 MHz
cfg80211: Ignoring regulatory request Set by driver since the driver requires its own regulatory domain to be set first
cfg80211: Ignoring regulatory request Set by driver since the driver requires its own regulatory domain to be set first
cfg80211: Current regulatory domain intersected:
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
cfg80211:   (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
cfg80211:   (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
cfg80211: Timeout while waiting for CRDA to reply, restoring regulatory settings
RTNL: assertion failed at /home/greearb/git/linux.wireless-next/net/wireless/reg.c (1831)
CPU: 2 PID: 164 Comm: kworker/2:1 Not tainted 3.10.0-rc1+ #3
Hardware name: To be filled by O.E.M. To be filled by O.E.M./To be filled by O.E.M., BIOS 4.6.3 09/05/2011
Workqueue: events reg_timeout_work [cfg80211]
 ffff88022bd13880 ffff8802178a5db8 ffffffff815d0e01 ffff8802178a5e08
 ffffffffa026d777 ffff8802178a5dc8 ffff8802178a5dc8 0000000000014000
 0000000000000080 0000000000000000 ffff880222240380 ffff88022bd13880
Call Trace:
 [<ffffffff815d0e01>] dump_stack+0x19/0x20
 [<ffffffffa026d777>] restore_regulatory_settings+0x47/0x3f7 [cfg80211]
 [<ffffffffa026db48>] reg_timeout_work+0x21/0x23 [cfg80211]
 [<ffffffff810b7dac>] process_one_work+0x23d/0x37f
 [<ffffffff810b805c>] worker_thread+0x16e/0x283
 [<ffffffff810b7eee>] ? process_one_work+0x37f/0x37f
 [<ffffffff810bde31>] kthread+0xb5/0xbd
 [<ffffffff810bdd7c>] ? kthread_freezable_should_stop+0x60/0x60
 [<ffffffff815d9c2c>] ret_from_fork+0x7c/0xb0
 [<ffffffff810bdd7c>] ? kthread_freezable_should_stop+0x60/0x60
RTNL: assertion failed at /home/greearb/git/linux.wireless-next/net/wireless/reg.c (207)
CPU: 2 PID: 164 Comm: kworker/2:1 Not tainted 3.10.0-rc1+ #3
Hardware name: To be filled by O.E.M. To be filled by O.E.M./To be filled by O.E.M., BIOS 4.6.3 09/05/2011
Workqueue: events reg_timeout_work [cfg80211]
 ffffffffa029c140 ffff8802178a5d98 ffffffff815d0e01 ffff8802178a5db8
 ffffffffa026d55c ffff880222240301 ffff88022bd13880 ffff8802178a5e08
 ffffffffa026d788 ffff8802178a5dc8 ffff8802178a5dc8 0000000000014000
Call Trace:
 [<ffffffff815d0e01>] dump_stack+0x19/0x20
 [<ffffffffa026d55c>] reset_regdomains+0x38/0xce [cfg80211]
 [<ffffffffa026d788>] restore_regulatory_settings+0x58/0x3f7 [cfg80211]
 [<ffffffffa026db48>] reg_timeout_work+0x21/0x23 [cfg80211]
 [<ffffffff810b7dac>] process_one_work+0x23d/0x37f
 [<ffffffff810b805c>] worker_thread+0x16e/0x283
 [<ffffffff810b7eee>] ? process_one_work+0x37f/0x37f
 [<ffffffff810bde31>] kthread+0xb5/0xbd
 [<ffffffff810bdd7c>] ? kthread_freezable_should_stop+0x60/0x60
 [<ffffffff815d9c2c>] ret_from_fork+0x7c/0xb0
 [<ffffffff810bdd7c>] ? kthread_freezable_should_stop+0x60/0x60
e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
cfg80211: Restoring regulatory settings including user preference
cfg80211: Kicking the queue
cfg80211: Calling CRDA to update world regulatory domain

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux