Hostapd 5ghz

doudootiana

New Member
Joined
May 20, 2023
Messages
10
Reaction score
1
Credits
85
Hy.
I work on a board Mochabin from GloablScale.
I tried to use a card mpcie ax with driver mt7915e.
This board has two interfaces : 1 for 2.4gh and 1 for 5/6ghz.

The 2.4 GHz works well.

But i want to use thé 5/6ghz it blocks here :
mgmt::deauth cb

I tried the card on another board and it works.
I tried to user a card 5ghz with drivers ath10k on the mochabin board and it works.

Hère the log output :

Code:
broadcast key
nl80211: NL80211_CMD_SET_KEY - default key
nl80211: Set wlan1 operstate 0->1 (UP)
netlink: Operstate: ifindex=8 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
nl80211: TX queue param set: queue=0 aifs=1 cw_min=3 cw_max=7 burst_time=15 --> res=0
nl80211: TX queue param set: queue=1 aifs=1 cw_min=7 cw_max=15 burst_time=30 --> res=0
nl80211: TX queue param set: queue=2 aifs=3 cw_min=15 cw_max=63 burst_time=0 --> res=0
nl80211: TX queue param set: queue=3 aifs=7 cw_min=15 cw_max=1023 burst_time=0 --> res=0
wlan1: interface state HT_SCAN->ENABLED
wlan1: AP-ENABLED
wlan1: Setup of interface done.
RTM_NEWLINK: ifi_index=8 ifname=wlan1 operstate=6 linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Event message available
nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlan1
nl80211: MLME event 60 (NL80211_CMD_FRAME_TX_STATUS) on wlan1(00:0a:52:08:32:49) A1=ff:ff:ff:ff:ff:ff A2=00:0a:52:08:32:49
nl80211: MLME event frame - hexdump(len=26): c0 00 00 00 ff ff ff ff ff ff 00 0a 52 08 32 49 00 0a 52 08 32 49 00 00 02 00
nl80211: Frame TX status event A1=ff:ff:ff:ff:ff:ff stype=12 cookie=0x3 ack=0
wlan1: Event TX_STATUS (16) received
mgmt::deauth cb

And here the configuration of hostapd :

Code:
Interface wifi interface=wlan1 # SSID et clef de securite ssid=doudoo_diagbox wpa_passphrase=12345678 # Mode : hw_mode=a # Canal channel=40 # Wifi 4 ieee80211n=1 ht_capab=[HT40+][HT40-][SHORT-GI-40][MAX-AMSDU-7935] # Wifi 5 ieee80211ac=1 vht_oper_chwidth=0 #vht_oper_centr_freq_seg0_idx= #vht_capab= # DFS ieee80211h=1 ieee80211h=1 ieee80211d=1 country_code=FR # Algo de secu auth_algs=1 #wpa=2 wpa=1 wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP macaddr_acl=0 # Bridge Lan #bridge=br-wifi # QoS wmm_enabled=1 wmm_ac_bk_cwmin=4 wmm_ac_bk_cwmax=10 wmm_ac_bk_aifs=7 wmm_ac_bk_txop_limit=0 wmm_ac_bk_acm=0 wmm_ac_be_aifs=3 wmm_ac_be_cwmin=4 wmm_ac_be_cwmax=10 wmm_ac_be_txop_limit=0 wmm_ac_be_acm=0 wmm_ac_vi_aifs=2 wmm_ac_vi_cwmin=3 wmm_ac_vi_cwmax=4 wmm_ac_vi_txop_limit=94 wmm_ac_vi_acm=0 wmm_ac_vo_aifs=2 wmm_ac_vo_cwmin=2 wmm_ac_vo_cwmax=3 wmm_ac_vo_txop_limit=47 wmm_ac_vo_acm=0 tx_queue_data3_aifs=7 tx_queue_data3_cwmin=15 tx_queue_data3_cwmax=1023 tx_queue_data3_burst=0 tx_queue_data2_aifs=3 tx_queue_data2_cwmin=15 tx_queue_data2_cwmax=63 tx_queue_data2_burst=0 tx_queue_data1_aifs=1 tx_queue_data1_cwmin=7 tx_queue_data1_cwmax=15 tx_queue_data1_burst=3.0 tx_queue_data0_aifs=1 tx_queue_data0_cwmin=3 tx_queue_data0_cwmax=7 tx_queue_data0_burst=1.5 # Logs logger_syslog=0 logger_syslog_level=4 logger_stdout=-1 logger_stdout_level=0

I've been going around in circles for a week :(

Thanks by advance

Doudoo
 


What is output of ...

iw list | grep MHz
 
What is output of ...

iw list | grep MHz
Hy
Thank you to answer me.

Heer the output of the command you ask :



Code:
# iw list | grep MHz
                        Supported Channel Width: 160 MHz
                        short GI (80 MHz)
                        short GI (160/80+80 MHz)
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                                20MHz in 40MHz HE PPDU 2.4GHz
                                20MHz in 160/80+80MHz HE PPDU
                                80MHz in 160/80+80MHz HE PPDU
                        HE RX MCS and NSS set <= 80 MHz
                        HE TX MCS and NSS set <= 80 MHz
                        HE RX MCS and NSS set 160 MHz
                        HE TX MCS and NSS set 160 MHz
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                                STBC Tx > 80MHz
                                STBC Rx > 80MHz
                        HE RX MCS and NSS set <= 80 MHz
                        HE TX MCS and NSS set <= 80 MHz
                        HE RX MCS and NSS set 160 MHz
                        HE TX MCS and NSS set 160 MHz
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                        HE RX MCS and NSS set <= 80 MHz
                        HE TX MCS and NSS set <= 80 MHz
                        HE RX MCS and NSS set 160 MHz
                        HE TX MCS and NSS set 160 MHz
                        * 5180 MHz [36] (23.0 dBm)
                        * 5200 MHz [40] (23.0 dBm)
                        * 5220 MHz [44] (23.0 dBm)
                        * 5240 MHz [48] (23.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (radar detection)
                        * 5280 MHz [56] (20.0 dBm) (radar detection)
                        * 5300 MHz [60] (20.0 dBm) (radar detection)
                        * 5320 MHz [64] (20.0 dBm) (radar detection)
                        * 5500 MHz [100] (26.0 dBm) (radar detection)
                        * 5520 MHz [104] (26.0 dBm) (radar detection)
                        * 5540 MHz [108] (26.0 dBm) (radar detection)
                        * 5560 MHz [112] (26.0 dBm) (radar detection)
                        * 5580 MHz [116] (26.0 dBm) (radar detection)
                        * 5600 MHz [120] (26.0 dBm) (radar detection)
                        * 5620 MHz [124] (26.0 dBm) (radar detection)
                        * 5640 MHz [128] (26.0 dBm) (radar detection)
                        * 5660 MHz [132] (26.0 dBm) (radar detection)
                        * 5680 MHz [136] (26.0 dBm) (radar detection)
                        * 5700 MHz [140] (26.0 dBm) (radar detection)
                        * 5720 MHz [144] (13.0 dBm) (radar detection)
                        * 5745 MHz [149] (13.0 dBm)
                        * 5765 MHz [153] (13.0 dBm)
                        * 5785 MHz [157] (13.0 dBm)
                        * 5805 MHz [161] (13.0 dBm)
                        * 5825 MHz [165] (13.0 dBm)
                        * 5845 MHz [169] (13.0 dBm)
                        * 5865 MHz [173] (13.0 dBm)
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                                20MHz in 40MHz HE PPDU 2.4GHz
                                20MHz in 160/80+80MHz HE PPDU
                                80MHz in 160/80+80MHz HE PPDU
                        HE RX MCS and NSS set <= 80 MHz
                        HE TX MCS and NSS set <= 80 MHz
                        HE RX MCS and NSS set 160 MHz
                        HE TX MCS and NSS set 160 MHz
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                                STBC Tx > 80MHz
                                STBC Rx > 80MHz
                        HE RX MCS and NSS set <= 80 MHz
                        HE TX MCS and NSS set <= 80 MHz
                        HE RX MCS and NSS set 160 MHz
                        HE TX MCS and NSS set 160 MHz
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                        HE RX MCS and NSS set <= 80 MHz
                        HE TX MCS and NSS set <= 80 MHz
                        HE RX MCS and NSS set 160 MHz
                        HE TX MCS and NSS set 160 MHz
                        * 5955 MHz [1] (23.0 dBm)
                        * 5975 MHz [5] (23.0 dBm)
                        * 5995 MHz [9] (23.0 dBm)
                        * 6015 MHz [13] (23.0 dBm)
                        * 6035 MHz [17] (23.0 dBm)
                        * 6055 MHz [21] (23.0 dBm)
                        * 6075 MHz [25] (23.0 dBm)
                        * 6095 MHz [29] (23.0 dBm)
                        * 6115 MHz [33] (23.0 dBm)
                        * 6135 MHz [37] (23.0 dBm)
                        * 6155 MHz [41] (23.0 dBm)
                        * 6175 MHz [45] (23.0 dBm)
                        * 6195 MHz [49] (23.0 dBm)
                        * 6215 MHz [53] (23.0 dBm)
                        * 6235 MHz [57] (23.0 dBm)
                        * 6255 MHz [61] (23.0 dBm)
                        * 6275 MHz [65] (23.0 dBm)
                        * 6295 MHz [69] (23.0 dBm)
                        * 6315 MHz [73] (23.0 dBm)
                        * 6335 MHz [77] (23.0 dBm)
                        * 6355 MHz [81] (23.0 dBm)
                        * 6375 MHz [85] (23.0 dBm)
                        * 6395 MHz [89] (23.0 dBm)
                        * 6415 MHz [93] (23.0 dBm)
                        * 6435 MHz [97] (disabled)
                        * 6455 MHz [101] (disabled)
                        * 6475 MHz [105] (disabled)
                        * 6495 MHz [109] (disabled)
                        * 6515 MHz [113] (disabled)
                        * 6535 MHz [117] (disabled)
                        * 6555 MHz [121] (disabled)
                        * 6575 MHz [125] (disabled)
                        * 6595 MHz [129] (disabled)
                        * 6615 MHz [133] (disabled)
                        * 6635 MHz [137] (disabled)
                        * 6655 MHz [141] (disabled)
                        * 6675 MHz [145] (disabled)
                        * 6695 MHz [149] (disabled)
                        * 6715 MHz [153] (disabled)
                        * 6735 MHz [157] (disabled)
                        * 6755 MHz [161] (disabled)
                        * 6775 MHz [165] (disabled)
                        * 6795 MHz [169] (disabled)
                        * 6815 MHz [173] (disabled)
                        * 6835 MHz [177] (disabled)
                        * 6855 MHz [181] (disabled)
                        * 6875 MHz [185] (disabled)
                        * 6895 MHz [189] (disabled)
                        * 6915 MHz [193] (disabled)
                        * 6935 MHz [197] (disabled)
                        * 6955 MHz [201] (disabled)
                        * 6975 MHz [205] (disabled)
                        * 6995 MHz [209] (disabled)
                        * 7015 MHz [213] (disabled)
                        * 7035 MHz [217] (disabled)
                        * 7055 MHz [221] (disabled)
                        * 7075 MHz [225] (disabled)
                        * 7095 MHz [229] (disabled)
                        * 7115 MHz [233] (disabled)
                   total <= 19, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }
                 * short GI for 40 MHz
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                                20MHz in 40MHz HE PPDU 2.4GHz
                                20MHz in 160/80+80MHz HE PPDU
                                80MHz in 160/80+80MHz HE PPDU
                        HE RX MCS and NSS set <= 80 MHz
                        HE TX MCS and NSS set <= 80 MHz
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                                STBC Tx > 80MHz
                                STBC Rx > 80MHz
                        HE RX MCS and NSS set <= 80 MHz
                        HE TX MCS and NSS set <= 80 MHz
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                        HE RX MCS and NSS set <= 80 MHz
                        HE TX MCS and NSS set <= 80 MHz
                        * 2412 MHz [1] (17.0 dBm)
                        * 2417 MHz [2] (17.0 dBm)
                        * 2422 MHz [3] (17.0 dBm)
                        * 2427 MHz [4] (17.0 dBm)
                        * 2432 MHz [5] (17.0 dBm)
                        * 2437 MHz [6] (17.0 dBm)
                        * 2442 MHz [7] (17.0 dBm)
                        * 2447 MHz [8] (17.0 dBm)
                        * 2452 MHz [9] (17.0 dBm)
                        * 2457 MHz [10] (17.0 dBm)
                        * 2462 MHz [11] (17.0 dBm)
                        * 2467 MHz [12] (17.0 dBm)
                        * 2472 MHz [13] (17.0 dBm)
                        * 2484 MHz [14] (disabled)
                   total <= 19, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }
                 * short GI for 40 MHz
# ^C
#


I tried to use channel without ( for Example : 40)
 
What country are you in? Some countries block certain channels.
Is there an Airport or Military base near you? Perhaps a weather radar?
If you wifi radio detects any of these it will block conflicting channels.

It looks like your 2.4 band is completely open, except for channel 14.
It looks like 6MHz channels 97-233 are disabled.
It looks like 5MHz channels 36-48 appear to be open.
Also 5Mhz channels 149 to 173 appear to be open.

I tried to use channel without ( for Example : 40)

I can't see any reason this wouldn't work.

If you do an iw list on your client, does it support channel 40?
 
Last edited:
What country are you in? Some countries block certain channels.
Is there an Airport or Military base near you? Perhaps a weather radar?
If you wifi radio detects any of these it will block conflicting channels.

It looks like your 2.4 band is completely open, except for channel 14.
It looks like 6MHz channels 97-233 are disabled.
It looks like 5MHz channels 36-48 appear to be open.
Also 5Mhz channels 149 to 173 appear to be open.



I can't see any reason this wouldn't work.

If you do an iw list on your client, does it support channel 40?
Hy ^^
I am in France.
Non Airport, Military or weather radar Next to me.

I testes my wifi card in Another board(clearfog from Solidrun). It works.
I tested my board with a wifi card which has a driver ath10k instead mt7915e. It works
 

Members online


Top