[Bug 216923] iwi(4): cannot use channels 12 and 13 for DE/ETSI

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 216923] iwi(4): cannot use channels 12 and 13 for DE/ETSI

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216923

            Bug ID: 216923
           Summary: iwi(4): cannot use channels 12 and 13 for DE/ETSI
           Product: Base System
           Version: 11.0-STABLE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: wireless
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]
                CC: [hidden email]

Hi, folks!

  It is still not possible to use channels 12 and 13 despite setting
country/regdomain to DE/ETSI (or any other which permits usage of channels 12,
13).

  I'm aware of bug #174722.  Applying recommendations from that PR yield no
desired results.  Comparing to that PR -- the driver is the same (iwi(4)),
however, two things differ: the wireless card is 'Intel(R) PRO/Wireless
2915ABG', and the system is FreeBSD 11.0-STABLE (r313440).

  How to reproduce:
Run the following (on a freshly booted system):
------------------------------------------------------------------------
d610# ifconfig wlan0
ifconfig: interface wlan0 does not exist

d610# ifconfig wlan0 create wlandev iwi0

d610# ifconfig wlan0 country DE ecm
d610# ifconfig wlan0
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:16:6f:89:cc:bb
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid "" channel 1 (2412 MHz 11b)
        regdomain ETSI country DE authmode OPEN privacy OFF txpower 30
        bmiss 24 scanvalid 60 wme bintval 0
        groups: wlan

d610# ifconfig wlan0 list regdomain
:regdomain ETSI country DE anywhere ecm
Channel   1 : 2412      MHz 11b          Channel   7 : 2442      MHz 11g
Channel   1 : 2412      MHz 11g          Channel   8 : 2447      MHz 11b
Channel   2 : 2417      MHz 11b          Channel   8 : 2447      MHz 11g
Channel   2 : 2417      MHz 11g          Channel   9 : 2452      MHz 11b
Channel   3 : 2422      MHz 11b          Channel   9 : 2452      MHz 11g
Channel   3 : 2422      MHz 11g          Channel  10 : 2457      MHz 11b
Channel   4 : 2427      MHz 11b          Channel  10 : 2457      MHz 11g
Channel   4 : 2427      MHz 11g          Channel  11 : 2462      MHz 11b
Channel   5 : 2432      MHz 11b          Channel  11 : 2462      MHz 11g
Channel   5 : 2432      MHz 11g          Channel  36 : 5180      MHz 11a
Channel   6 : 2437      MHz 11b          Channel  40 : 5200      MHz 11a
Channel   6 : 2437      MHz 11g          Channel  44 : 5220      MHz 11a
Channel   7 : 2442      MHz 11b          Channel  48 : 5240      MHz 11a
d610#
------------------------------------------------------------------------
  There are channels 12, 13 missing from the list, thus the command 'ifconfig
wlan0 channel 13' fails.

d610% uname -a
FreeBSD d610.synfin.me 11.0-STABLE FreeBSD 11.0-STABLE #0 r313440: Wed Feb  8
14:50:02 EET 2017    
[hidden email]:/usr/local/obj/usr/local/src/sys/GENERIC  i386

d610% dmesg | grep iwi0
iwi0: <Intel(R) PRO/Wireless 2915ABG> mem 0xdfcff000-0xdfcfffff irq 17 at
device 3.0 on pci2

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-i386
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 216923] iwi(4): cannot use channels 12 and 13 for DE/ETSI

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216923

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|i386                        |Any

--- Comment #1 from [hidden email] ---
Those were facts, now it's time to my observations and assumptions.

Another incarnation of the same(IMO) bug may be reproduced by 'touching' the
country/regdomain settings.  (Under 'touching' I mean 'changing to other value
and rolling back').  Thus, on a freshly booted system, one may run the
following:
------------------------------------------------------------------------
d610% ifconfig wlan0
ifconfig: interface wlan0 does not exist

d610# ifconfig wlan0 create wlandev iwi0
d610# ifconfig wlan0 country US
d610# ifconfig wlan0 list chan
Channel   1 : 2412  MHz 11g          Channel  11 : 2462  MHz 11g
Channel   2 : 2417  MHz 11g          Channel  36 : 5180  MHz 11a
Channel   3 : 2422  MHz 11g          Channel  40 : 5200  MHz 11a
Channel   4 : 2427  MHz 11g          Channel  44 : 5220  MHz 11a
Channel   5 : 2432  MHz 11g          Channel  48 : 5240  MHz 11a
Channel   6 : 2437  MHz 11g          Channel 149 : 5745  MHz 11a
Channel   7 : 2442  MHz 11g          Channel 153 : 5765  MHz 11a
Channel   8 : 2447  MHz 11g          Channel 157 : 5785  MHz 11a
Channel   9 : 2452  MHz 11g          Channel 161 : 5805  MHz 11a
Channel  10 : 2457  MHz 11g

d610# ifconfig wlan0 country DE
d610# ifconfig wlan0 country US
d610# ifconfig wlan0 list chan
Channel   1 : 2412  MHz 11g          Channel   9 : 2452  MHz 11g
Channel   2 : 2417  MHz 11g          Channel  10 : 2457  MHz 11g
Channel   3 : 2422  MHz 11g          Channel  11 : 2462  MHz 11g
Channel   4 : 2427  MHz 11g          Channel  36 : 5180  MHz 11a
Channel   5 : 2432  MHz 11g          Channel  40 : 5200  MHz 11a
Channel   6 : 2437  MHz 11g          Channel  44 : 5220  MHz 11a
Channel   7 : 2442  MHz 11g          Channel  48 : 5240  MHz 11a
Channel   8 : 2447  MHz 11g
d610#
------------------------------------------------------------------------

  Note, that touching regulatory settings effectively shrinked the list of
available channels: 149,153,157,161 are missing.

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-i386
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 216923] iwi(4): cannot use channels 12 and 13 for DE/ETSI

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216923

--- Comment #2 from [hidden email] ---
Created attachment 179774
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179774&action=edit
svn diff for iwi(4) (stable/11, r313440)

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-i386
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 216923] iwi(4): cannot use channels 12 and 13 for DE/ETSI

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216923

--- Comment #3 from [hidden email] ---
  To make long story short: the possible cause of this weird behavior is
missing implementation of ic_getradiocaps 'method(?)' within iwi(4) driver.

  The workaround is attached ( comment #2 ), however I dunno whether it is
correct from design POV; at least it works for me:

------------------------------------------------------------------------
d610# ifconfig wlan0 create wlandev iwi0

d610# ifconfig wlan0 country US
d610# ifconfig wlan0 list chan
Channel   1 : 2412  MHz 11g          Channel  11 : 2462  MHz 11g
Channel   2 : 2417  MHz 11g          Channel  36 : 5180  MHz 11a
Channel   3 : 2422  MHz 11g          Channel  40 : 5200  MHz 11a
Channel   4 : 2427  MHz 11g          Channel  44 : 5220  MHz 11a
Channel   5 : 2432  MHz 11g          Channel  48 : 5240  MHz 11a
Channel   6 : 2437  MHz 11g          Channel 149 : 5745  MHz 11a
Channel   7 : 2442  MHz 11g          Channel 153 : 5765  MHz 11a
Channel   8 : 2447  MHz 11g          Channel 157 : 5785  MHz 11a
Channel   9 : 2452  MHz 11g          Channel 161 : 5805  MHz 11a
Channel  10 : 2457  MHz 11g          Channel 165 : 5825* MHz 11a

d610# ifconfig wlan0 country DE
d610# ifconfig wlan0 list chan
Channel   1 : 2412  MHz 11g          Channel  48 : 5240  MHz 11a
Channel   2 : 2417  MHz 11g          Channel  52 : 5260* MHz 11a
Channel   3 : 2422  MHz 11g          Channel  56 : 5280* MHz 11a
Channel   4 : 2427  MHz 11g          Channel  60 : 5300* MHz 11a
Channel   5 : 2432  MHz 11g          Channel  64 : 5320* MHz 11a
Channel   6 : 2437  MHz 11g          Channel 100 : 5500* MHz 11a
Channel   7 : 2442  MHz 11g          Channel 104 : 5520* MHz 11a
Channel   8 : 2447  MHz 11g          Channel 108 : 5540* MHz 11a
Channel   9 : 2452  MHz 11g          Channel 112 : 5560* MHz 11a
Channel  10 : 2457  MHz 11g          Channel 116 : 5580* MHz 11a
Channel  11 : 2462  MHz 11g          Channel 120 : 5600* MHz 11a
Channel  12 : 2467  MHz 11g          Channel 124 : 5620* MHz 11a
Channel  13 : 2472  MHz 11g          Channel 128 : 5640* MHz 11a
Channel  36 : 5180  MHz 11a          Channel 132 : 5660* MHz 11a
Channel  40 : 5200  MHz 11a          Channel 136 : 5680* MHz 11a
Channel  44 : 5220  MHz 11a          Channel 140 : 5700* MHz 11a

d610# ifconfig wlan0 country US
d610# ifconfig wlan0 list chan
Channel   1 : 2412  MHz 11g          Channel  11 : 2462  MHz 11g
Channel   2 : 2417  MHz 11g          Channel  36 : 5180  MHz 11a
Channel   3 : 2422  MHz 11g          Channel  40 : 5200  MHz 11a
Channel   4 : 2427  MHz 11g          Channel  44 : 5220  MHz 11a
Channel   5 : 2432  MHz 11g          Channel  48 : 5240  MHz 11a
Channel   6 : 2437  MHz 11g          Channel 149 : 5745  MHz 11a
Channel   7 : 2442  MHz 11g          Channel 153 : 5765  MHz 11a
Channel   8 : 2447  MHz 11g          Channel 157 : 5785  MHz 11a
Channel   9 : 2452  MHz 11g          Channel 161 : 5805  MHz 11a
Channel  10 : 2457  MHz 11g          Channel 165 : 5825* MHz 11a
d610#
------------------------------------------------------------------------

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-i386
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 216923] iwi(4): cannot use channels 12 and 13 for DE/ETSI

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216923

Mark Linimon <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|[hidden email]    |

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-i386
To unsubscribe, send any mail to "[hidden email]"