Hostapd with M.2 Wifi/BT (AC3168)

Discussion in 'UDOO X86' started by name, Sep 27, 2017.

  1. name

    name New Member

    Joined:
    Sep 27, 2017
    Messages:
    3
    Likes Received:
    0
    Hi,

    did anyone get 5ghz AP working?
    2,4ghz works fine with hostapd but I am having issues using 80211ac with any channel.
    [...]
    wlp3s0: interface state UNINITIALIZED->COUNTRY_UPDATE
    Channel 149 (primary) not allowed for AP mode
    wlp3s0: IEEE 802.11 Configured channel (149 [e.g.]) not found from the channel list of current mode (2) IEEE 802.11a
    wlp3s0: IEEE 802.11 Hardware does not support configured channel
    Could not select hw_mode and channel. (-3)
    wlp3s0: interface state COUNTRY_UPDATE->DISABLED
    [...]

    Tried using country code DE (DFS-ETSI) and 00 (DFS-UNSET)...
    Could not find much information online regarding the AC3168 in ac AP mode...
     
  2. waytt

    waytt New Member

    Joined:
    Jul 3, 2017
    Messages:
    4
    Likes Received:
    1
  3. name

    name New Member

    Joined:
    Sep 27, 2017
    Messages:
    3
    Likes Received:
    0
    Hi, thanks for the reply :)

    Where did you find the information that the 5ghz band does not support 5ghz AP?
     
  4. waytt

    waytt New Member

    Joined:
    Jul 3, 2017
    Messages:
    4
    Likes Received:
    1
    Just click link https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
    Features
    • Station (client)
    • AP mode on 2.4GHz (on devices driven by iwlmvm)
    • P2P and multi-role (on devices driven by iwlmvm)
    • Wi-Fi Aware*, Wi-Fi Location* are experimental on 8260
    • Monitor (sniffer)
    • IBSS (Ad-Hoc)
    This device driven by iwlmvm module.
    A have tonns of trouble with this card on OpenWRT/LEDE, it's a very bad choice for ap mode.
     
    Last edited: Oct 6, 2017
  5. waytt

    waytt New Member

    Joined:
    Jul 3, 2017
    Messages:
    4
    Likes Received:
    1
    Just a little log :)
    [ 2073.930574] iwlwifi 0000:03:00.0: Microcode SW error detected. Restarting 0x2000000.
    [ 2073.930733] iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
    [ 2073.930744] iwlwifi 0000:03:00.0: Status: 0x00000000, count: 6
    [ 2073.930754] iwlwifi 0000:03:00.0: Loaded firmware version: 27.455470.0
    [ 2073.930766] iwlwifi 0000:03:00.0: 0x00001007 | ADVANCED_SYSASSERT
    [ 2073.930774] iwlwifi 0000:03:00.0: 0x008006B4 | trm_hw_status0
    [ 2073.930782] iwlwifi 0000:03:00.0: 0x00000000 | trm_hw_status1
    [ 2073.930790] iwlwifi 0000:03:00.0: 0x00043CDC | branchlink2
    [ 2073.930798] iwlwifi 0000:03:00.0: 0x0004AE8E | interruptlink1
    [ 2073.930805] iwlwifi 0000:03:00.0: 0x00000000 | interruptlink2
    [ 2073.930813] iwlwifi 0000:03:00.0: 0x00030400 | data1
    [ 2073.930821] iwlwifi 0000:03:00.0: 0x0000040B | data2
    [ 2073.930828] iwlwifi 0000:03:00.0: 0xDEADBEEF | data3
    [ 2073.930836] iwlwifi 0000:03:00.0: 0x9FC13E07 | beacon time
    [ 2073.930844] iwlwifi 0000:03:00.0: 0xF6232DF9 | tsf low
    [ 2073.930851] iwlwifi 0000:03:00.0: 0x00000001 | tsf hi
    [ 2073.930859] iwlwifi 0000:03:00.0: 0x00000000 | time gp1
    [ 2073.930867] iwlwifi 0000:03:00.0: 0x0450B9B6 | time gp2
    [ 2073.930874] iwlwifi 0000:03:00.0: 0x00000001 | uCode revision type
    [ 2073.930882] iwlwifi 0000:03:00.0: 0x0000001B | uCode version major
    [ 2073.930890] iwlwifi 0000:03:00.0: 0x0006F32E | uCode version minor
    [ 2073.930898] iwlwifi 0000:03:00.0: 0x00000220 | hw version
    [ 2073.930905] iwlwifi 0000:03:00.0: 0x00C89200 | board version
    [ 2073.930913] iwlwifi 0000:03:00.0: 0x0ABC001C | hcmd
    [ 2073.930921] iwlwifi 0000:03:00.0: 0x80022002 | isr0
    [ 2073.930928] iwlwifi 0000:03:00.0: 0x00000000 | isr1
    [ 2073.930935] iwlwifi 0000:03:00.0: 0x00000002 | isr2
    [ 2073.930943] iwlwifi 0000:03:00.0: 0x004138C5 | isr3
     
  6. name

    name New Member

    Joined:
    Sep 27, 2017
    Messages:
    3
    Likes Received:
    0
    Awww I completely missed that, only read the sheet about the AC3168, thanks for the heads up :)
    Well... I guess 80211n is good enough.

    I have had no problems with that setup yet.
    Using Gentoo (kernel 4.13.5 [custom]) and the official microcode for that card). I guess you are using the official firmware too?
     
  7. waytt

    waytt New Member

    Joined:
    Jul 3, 2017
    Messages:
    4
    Likes Received:
    1
    Yes,official from kernel.org. Intel ac cards - it's a crap,using bluetooth - bad wifi signal,and many other sh.... Unfortunaly i don't find ath9k cards with m.2 slot.only mini pci ,ath9k cards it's the best for ap mode.and they have fully open source drivers
     
    tuxun likes this.

Share This Page