2020年6月28日 星期日

5G Wi-Fi 的 DFS (Dynamic Frequency Selection) 頻道

早在開放 5GHz無線電頻段給Wi-Fi使用之前,該頻段早已經使用於飛機雷達與氣象雷達,所以就規定 5GHz不能影響到雷達的收訊。

雷達? 大家一定會奇怪,哪來的雷達? 其實台北濱江路355號就有一個,裡面有沒有5 GHz的雷達我是不知道,但是這種大白球,裡面就是雷達。

  
我家對面的野柳岬的山頂也有一個國軍的雷達站;聽說如果有直升機由頭上經過,裡面也有5 GHz的雷達信號。

不過說家裡的 Wi-Fi 基地台會干擾雷達,我是不相信的。因為家里的Wi-Fi信號,如果能打那麼遠,那手機的基地台早就廢了,大家直接用Wi-Fi不就算了。

算了,政府總是想的多一點,超前部署嘛! 大家的做產品的一定要順時鐘,不然認證不會過。就是說不能賣啦!

如果要能使用這些雷達頻道就要有 DFS  (Dynamic Frequency Selection)的功能:
  1.  AP 開機的時候,如果想使用CH 52 - CH140,先要掃描一分鐘,如果沒有發現雷達訊號,在可以開啟這個CHANNEL來使用。
  2. 如果選擇 CH120 - CH 128來使用,必須要掃描10分鐘來確保這地區沒有氣象雷達在使用這個頻道。
  3. 如果前面兩步驟都沒有發現雷達信號,你還是要繼續一面用,一面掃,萬一發現有雷達訊號來了(例如直升機飛過去),這時候AP 要關閉頻道30分鐘,才能重新開啟。 
所以5G Hz Wi-Fi之中,只有最低的四個通道36–48(U-NII-1)和最高的奇數通道149–165 (U-NII-3)不需要DFS監控。

如果你有安裝 Wi-Fi Analyser 這個Apps,你會發現大家的AP,似乎都設在最高與最低的兩個通道上。中間的部分,大家怕麻煩,或是AP根本沒有DFS功能。所以DFS頻段完全沒有人在使用 (浪費啊!!!)。

這時有同學舉手,我們家的 Wi-Fi AP 都有有沒有支援 DFS 功能呢? 答案是: 有的。


上面是之前的信號,當DFS信號掃過,原先在Channel 100, 116的幾個頻道都自動閃開了。這時候變成下面的狀況。













2020年6月26日 星期五

有關於Wi-Fi 的基礎知識(一)

先由Ethernet談起,Wi-Fi就是一種Ethernet的技術,這技術的原理稱之為CSMA/CD(Carrier Sense Multiple Access/Collision Detection,即載波多重存取/碰撞偵測)。簡單來說,就是利用線來當作BUS,所有的裝置都接在BUS上面。每個裝置都可以互相通信。

但是大家不能一起講話,那不就亂了。如果A要與B說話,A就先舉手,這時候大家就不說話,讓A與B講話。講完之後,大家再舉手,快的人會搶到講話的權利。

大家都認為Ethernet是全錄在1974年發明的,但其實1960年夏威夷大學就用電波為載體,發表了類似CSMA/CD的技術。全錄只是把這個技術應用到同軸電纜上面。

全錄取名Ethernet,代表他知道這技術的來源,因為乙太(Ether)這個名詞在物理上有重大意義。

乙太是馬其頓哲學家亞里斯多德(西元前384年-前322)所設想的一種物質,為五元素(水、火、土、空氣、以太)之一。

十九世紀科學家了解光也是一種電磁波,但是波要介質才能傳播,但太空沒有空氣如何傳播? 噢!!! 原來太空中有一種東西叫做"乙太",所以光得以傳播。而且亞里斯多德在西元前三百年前就知道了。亞里斯多德肯定是外星人。

扯太遠了,後來發現並沒有"乙太"這種物質在外太空,至少到現在為止還沒有發現。只發明了Ethernet。而且Wi-Fi技術才是原始Ethernet的技術源頭。

一、802.11n 與 2.4GHz 頻段

$1.1 頻道 (Channel)

2.4GHz頻段可以使用2.400–2.485 GHz之間的頻段,總共有 85 MHz 的帶寬。

在發明WiFi之前,它已經被分成一堆以 5 MHz 為間隔的頻道。5 MHz太窄,傳不了多少資料,最早的 802.11 及其後續的 802.11b 使用 22 MHz 信道,也就是5 個 5 MHz 。

後來的 802.11g 和 802.11n 後來使用了OFDM 技術,才開始在 20 MHz 的頻寬上來使用。
但是無論22M Hz還是20M Hz,都需要連續的五個頻道,才能塞進去這20MHz。

所以如果不想重疊,就是把這有限的85MHz,分為三個段子。於是所有的802.11n 2.4GHz都使用Channel 1, 6, 11當作中心頻率,還保證不打架。


例如如果AP打出的頻率是Channel,基本上就 CH 4, 5, 6, 7, 8 指五個頻道組成一個20MHz。

$1.2 頻道的合併使用



如果用Channel 3為中心頻率,的確可以做到合併出一個 40MHz的頻道。但是似乎沒有人這樣做。因為這樣在壅擠的2.4GHz,不是一個有效率的做法。

還有人也許會問,如果用Channel 5 做中心,使用 3-11不是也很好。但如果看上面的圖就知道,如果用Channel 3來做40MHz,會與兩個20MHz頻道重疊,但是如果你選Channel 5,就幾乎與所有頻道重疊。

簡單說,如果你住的地方,沒有別的基地台,那你就隨便設,把頻道設成 40MHz;否則,就乖乖的用20MHz,在 Channel 1 6 11 選一個比較少人使用的就可以了。

$1.3 各國的使用頻段限制

美國、台灣與巴西不能使用 CH 12, 13, 14。
日本與歐盟不能使用CH 14。

$1.4 干擾

2.4 GHz上有非常多的干擾源,包含微波爐、省電燈泡、Bluetooth等等。最新的威脅是USB3,它恰好使用相同的頻率,許多便宜的 USB3.0 電纜的屏蔽率很低,因此會對 2.4GHz的天線造成影響。有時候,這是讓Wi-Fi傳不遠的一個原因。

$1.5 連線速度


所以20MHz時候,最大的理論速度是 144 Mbps,20MHz 的時候 300 Mbps。這是2x2 802.11n 2.4GHz BW=20MHz 時,基地台所能提供的理論值最大速度。

如果AP能將Band Width(BW)設定為40MHz時,2x2 802.11n 2.4GHz 便可以把最高理論速度提高到 600 Mbps。

然而STA端(電腦、手機等),受到距離、雜訊、頻道的擁擠、天線設計等等因素,常常是到不了這個速度的。

二、802.11ac 與 5GHz 頻段

IEEE事實上早在802.11a中,便開始使用了5GHz頻段。但設備價格昂貴,該頻段並未獲得普及。802.11n開始定義可以使用於2.4GHz和5GHz頻段,但那時候除了我們的WAP-752X系列的產品利用4x4的802.11n 5GHz來設計出了Video Bridge這樣的產品。基本上,我們是利用這樣的設備來取代傳統的Ethernet CAT6 (Gigabit 雙絞線 Ethernet)。

後來802.11ac出現,而且這個技術規範僅支援5GHz,但是相容於之前802.11n。由於 iPhone開始支援雙頻架構的無線網路,造成無線基地台(Wi-Fi AP)的普及。

通常終端設備稱之為Station,諸如筆電、手機、平板都是。它們的Wi-Fi網路介面通常具備2.4 GHz與5GHz兩個頻段,然後依照實際的狀況,選擇一個頻段來連線。

$2.1 頻道

5GHz頻段與2.4GHz頻段5MHz來定義一段Channel。但由於技術比較新,所以間隔四個通道才設定一個頻道(36、40、44、48 ...),所以每個Channel都有20 MHz 的頻寬,避免了2.4 GHz 的重疊問題。



歐洲在室內使用頻道36-64。最大傳輸功率為200mW (23dBm),大於2.4GHz允許的100mW (20dBm),但由於頻率較高,仍無法完全補償6dB的衰減,所以5 GHz的傳輸距離,先天上必然小於2.4 GHz。

在Wi-Fi Access Point 的應用中,最大傳輸功率實際上無關緊要,因為典型的用戶設備,通常傳輸功率比較小。但連接始終是雙向的,因此如果手機發送的信號,無法傳送到基地台,那雖然手機看的到基地台,但也無法連上。

所以在相同距離之下,2.4GHz信號將必然會接收到3dBm的增強信號,由於演算法的關係,大多數STATION設備會選擇連接2.4GHz信號而不是5GHz。

但在100-140通道上,最大發射功率為1 W (30dBm),如前面所述,這對於STA不太重要,但是在MESH網路,或是Video Bridge的應用當中,就非常重要。

可惜的是CH 100- CH 140之間,還有別人在使用。

- Weather Radar (CH120, 124, 128) 

系統啟動時,AP必須要監聽雷達信號10分鐘,如果沒有雷達信號才能使用。

- DFS (Dynamic Frequency Selection) (CH52– CH140) 

這其中除了啟像雷達之外,還有軍方的雷達系統在使用當中,所以如如要使用,之前要監督一分鐘,如果有雷達訊號,就不能使用這些頻段。有關於DFS的說明,麻煩參考另外一篇。5G Wi-Fi 的 DFS (Dynamic Frequency Selection) 頻道
 
- CH 149- CH 165的四個通道上的SRD規範限制

歐洲限制這些頻段上最高 25mW (14dBm) 的傳輸功率,所以Access Point只能打出 14 dBm 而已。

$2.2 5GHz 頻道的合併使用

802.11n 2.4GHz 引進的合併通道的概念在 5GHz也存在。


2013 年,WiFi 聯盟將 802.11ac 分為 Wave 1 與 Wave 2。

合併兩個20MHz通道,將產生40MHz 帶寬。事實上,大部份的 2x2 AP,在5GHz上, 都會合併兩個通道為預設 40MHz 通道。例如: CH38/CH46、CH54/CH62、CH102/CH110、CH118/CH126、CH151/CH159,總計五個段子來提供給 4x4 Wi-Fi來使用。

如果有4x4的天線設計,系統便可以設定為使用 80MHz,就是將四個相連的頻道給組合起來使用。這時候 5GHz就只有五個頻道(CH42/CH58/CH106/CH122/C155)可以選用。

如果有八支天線,還可以設成 160MHz 來使用。

$2.3 辦公室的Wi-Fi使用









 

2020年6月23日 星期二

Dolby TrueHD (MLP) 高階位元流(Hight Level Bitstream)的說明

一、簡介

Dolby TrueHD是杜比實驗室(Dolby Laboratories)開發的一種無損多聲道音頻編碼格式,他是AC-3的後繼產品,由於AC-3的專利失效,TrueHD成為杜比的核心技術。TrueHD技術主要競爭者是DTS的HD Master。

杜比TrueHD使用子午線無損壓縮(Meridian Lossless Packing: MLP)演算法為數學基礎。TrueHD Bitstream 最多可以承載16個獨立的音頻通道,支援24 bit sample deep與 192 kHz的sample rates。

TrueHD Bitstream之中包含 Program metadate,其中存儲有關音頻波形的相關信息,並提供對解碼過程的控制。

Dolby Atmos可以有兩種編碼方式,第一種是傳統的 Dolby Digital Plus,另外一種就是無損TrueHD。主要的不同是都加入了空間的概念,允許增加的Audio Channel來模擬來自天空的聲音。

STB或者電視機的Dolby TrueHD的聲音可以用以下三種方式傳送到A / V Receiver:

1.STB自己把TrueHD解碼,變成Analog Output,這時候,可以Downmix到兩個聲道(R/L),6個聲道( R/L、Center、後置R/L、中低音)或8個聲道(5.1.2: 六聲道,加上兩個屋頂喇叭的驅動)。
2.STB將Dolby TrueHD 解碼,透過S/PDIF或是HDMI,將PCM方式送交給下一級的播放器播放。
3.Pass-Through,利用S/PDIF或 HDMI 1.3以上的介面,將原始Dolby TrueHD Bitstream,封裝在MAT (Metadata-Enhanced Audio Transport) Frames當中。這時候全部工作都必須要在Soundbar or A/V Receiver 來完成。

Channel Name縮寫ITU R BS.2051的命名
LeftLFLc
RightRFRc
CentreCFC
Low-Frequency EffectsLFELFE1
Left SurroundLsSiL
Right SurroundRsSiR
Left BackLbBL
Right BackRbBR
Top Front LeftTflTpFL
Top Front RightTfrTpFR
Top Back LeftTblTpBL
Top Back RightTbrTpBR
Top Side LeftTslTpSiL
Top Side RightTsrTpSiR
Top Front CenterTfcTpFC
Top CentreTcTpC
Low-Frequency Effects 2LFE2LFE2
Back CentreCbBC
Left WideLwFL
Right WideRwFR
Left ScreenLscLsc
Right ScreenRscRsc
Left Surround DirectLsd無定義
Right Surround DirectRsd無定義

接下就要說一下這個Dolby TrueHD的Bitstream格式。

二、Bitstream的架構

2.1 External and Internal Structure

TrueHD 有兩層結構,外層主要用來做系統層級的識別,包含Access Unit與MLP Sync兩部份。內層的基礎是Blocks,用於Codec;一些Block也會用於Restart Headers。

2.2 基本的定義

Bit Stream 是有一串的 Audio Frames所組成。每個Frames包含有Sample Data與一個表述單元(Presentation Unit)。表述單元是 1/1200秒(如果Audio Sample是48kHz的倍數)或 1/1102.5秒(如果Audio Samples是44.1KHz的倍數)。

舉例來說,Audio Frame在48kHz的時候,會有40個多聲道的樣本( multichannel samples)、96kHz的時候,會有80個多聲道的樣本;192kHz的時候,會有160個多聲道的樣本。
 
2.3 External Organization: Access Unit與MLP Sync

一個Access Unit的結構如下圖所示:


在上圖當中,可以看到第二個Access Unit 的內部結構,包含三個Substream。

MLP Sync又可以分為兩種: Major sync與Minor sync。Major sync 通常每128個Access Unit才會出現一次,裡面會包含解碼所需要的資訊。Minor sync 之中



2020年6月18日 星期四

STA上面,使用 CLI 來連接 Wi-Fi AP

盒子上沒有GUI,要如何連接上Wi-Fi? 基本上,也不難,透過 wpa_cli 即可:

第一步

基本上要有兩個Deamon程式:wpa_supplicant 與 dhclient wifi0

# ps | grep -e wpa_supplicant <Enter>
 1782 root      4248 S    /usr/sbin/wpa_supplicant -B -q -iwifi0 -bbr0 -Dmadwif

# ps | grep -e dhclient <Enter>
  449 root      1560 S    dhclient -4 br0 -cf /tmp/dhclient.conf -lf /tmp/dhcli

如果有,就可以使用 wpa_cli 。

# wpa_cli <Enter>
help
> commands:
  status [verbose] = get current WPA/EAPOL/EAP status
  ifname = get current interface name
  ping = pings wpa_supplicant
  relog = re-open log-file (allow rolling logs)
  note <text> = add a note to wpa_supplicant debug log
  mib = get MIB variables (dot1x, dot11)
  help [command] = show usage help
  interface [ifname] = show interfaces/select interface
  level <debug level> = change debug level
  license = show full wpa_cli license
  quit = exit wpa_cli
  set = set variables (shows list of variables when run without arguments)
  dump = dump config variables
  get <name> = get information
  driver_flags = list driver flags
  logon = IEEE 802.1X EAPOL state machine logon
  logoff = IEEE 802.1X EAPOL state machine logoff
  pmksa = show PMKSA cache
  pmksa_flush = flush PMKSA cache entries
  reassociate = force reassociation
  reattach = force reassociation back to the same BSS
  preauthenticate <BSSID> = force preauthentication
  identity <network id> <identity> = configure identity for an SSID
  password <network id> <password> = configure password for an SSID
  new_password <network id> <password> = change password for an SSID
  pin <network id> <pin> = configure pin for an SSID
  otp <network id> <password> = configure one-time-password for an SSID
  passphrase <network id> <passphrase> = configure private key passphrase for an SSID
  sim <network id> <pin> = report SIM operation result
  bssid <network id> <BSSID> = set preferred BSSID for an SSID
  blacklist <BSSID> = add a BSSID to the blacklist
  blacklist clear = clear the blacklist
  blacklist del <BSSID> = del a BSSID from the blacklist
  blacklist = display the blacklist
  log_level <level> [<timestamp>] = update the log level/timestamp
  log_level = display the current log level and log options
  list_networks = list configured networks
  select_network <network id> = select a network (disable others)
  enable_network <network id> = enable a network
  disable_network <network id> = disable a network
  add_network = add a network
  remove_network <network id> = remove a network
  set_network <network id> <variable> <value> = set network variables (shows list of variables when run without arguments)
  get_network <network id> <variable> = get network variables
  dup_network <src network id> <dst network id> <variable> = duplicate network variables
  list_creds = list configured credentials
  add_cred = add a credential
  remove_cred <cred id> = remove a credential
  set_cred <cred id> <variable> <value> = set credential variables
  get_cred <cred id> <variable> = get credential variables
  save_config = save the current configuration
  disconnect = disconnect and wait for reassociate/reconnect command before connecting
  reconnect [noscan] | [scan delay time] = an optional argument is used to
  indicated if scan is required or the scan delay time, like reassociate,
  but only takes effect if already disconnected
  scan = request new BSS scan
  scan_results = get latest scan results
  abort_scan = request ongoing scan to be aborted
  bss <<idx> | <bssid>> = get detailed scan result info
  get_capability <eap/pairwise/group/key_mgmt/proto/auth_alg/channels/freq/modes> = get capabilities
  reconfigure = force wpa_supplicant to re-read its configuration file
  terminate = terminate wpa_supplicant
  interface_add <ifname> <confname> <driver> <ctrl_interface> <driver_param>
    <bridge_name> <create> <type> = adds new interface, all parameters but
    <ifname> are optional. Supported types are station ('sta') and AP ('ap')
  interface_remove <ifname> = removes the interface
  interface_list = list available interfaces
  ap_scan <value> = set ap_scan parameter
  scan_interval <value> = set scan_interval parameter (in seconds)
  bss_expire_age <value> = set BSS expiration age parameter
  bss_expire_count <value> = set BSS expiration scan count parameter
  bss_flush <value> = set BSS flush age (0 by default)
  ft_ds <addr> = request over-the-DS FT with <addr>
  wps_pbc [BSSID] = start Wi-Fi Protected Setup: Push Button Configuration
  wps_pin <BSSID> [PIN] = start WPS PIN method (returns PIN, if not hardcoded)
  wps_check_pin <PIN> = verify PIN checksum
  wps_cancel Cancels the pending WPS operation
  wps_reg <BSSID> <AP PIN> = start WPS Registrar to configure an AP
  wps_ap_pin [params..] = enable/disable AP PIN
  wps_er_start [IP address] = start Wi-Fi Protected Setup External Registrar
  wps_er_stop = stop Wi-Fi Protected Setup External Registrar
  wps_er_pin <UUID> <PIN> = add an Enrollee PIN to External Registrar
  wps_er_pbc <UUID> = accept an Enrollee PBC using External Registrar
  wps_er_learn <UUID> <PIN> = learn AP configuration
  wps_er_set_config <UUID> <network id> = set AP configuration for enrolling
  wps_er_config <UUID> <PIN> <SSID> <auth> <encr> <key> = configure AP
  ibss_rsn <addr> = request RSN authentication with <addr> in IBSS
  suspend = notification of suspend/hibernate
  resume = notification of resume/thaw
  roam <addr> = roam to the specified BSS
  vendor_elem_add <frame id> <hexdump of elem(s)> = add vendor specific IEs to frame(s)
    0: Probe Req (P2P), 1: Probe Resp (P2P) , 2: Probe Resp (GO), 3: Beacon (GO), 4: PD Req, 5: PD Resp, 6: GO Neg Req, 7: GO Neg Resp, 8: GO Neg Conf, 9: Inv Req, 10: Inv Resp, 11: Assoc Req (P2P), 12: Assoc Resp (P2P)
  vendor_elem_get <frame id> = get vendor specific IE(s) to frame(s)
    0: Probe Req (P2P), 1: Probe Resp (P2P) , 2: Probe Resp (GO), 3: Beacon (GO), 4: PD Req, 5: PD Resp, 6: GO Neg Req, 7: GO Neg Resp, 8: GO Neg Conf, 9: Inv Req, 10: Inv Resp, 11: Assoc Req (P2P), 12: Assoc Resp (P2P)
  vendor_elem_remove <frame id> <hexdump of elem(s)> = remove vendor specific IE(s) in frame(s)
    0: Probe Req (P2P), 1: Probe Resp (P2P) , 2: Probe Resp (GO), 3: Beacon (GO), 4: PD Req, 5: PD Resp, 6: GO Neg Req, 7: GO Neg Resp, 8: GO Neg Conf, 9: Inv Req, 10: Inv Resp, 11: Assoc Req (P2P), 12: Assoc Resp (P2P)
  sta_autoconnect <0/1> = disable/enable automatic reconnection
  tdls_discover <addr> = request TDLS discovery with <addr>
  tdls_setup <addr> = request TDLS setup with <addr>
  tdls_teardown <addr> = tear down TDLS with <addr>
  tdls_link_status <addr> = TDLS link status with <addr>
  wmm_ac_addts <uplink/downlink/bidi> <tsid=0..7> <up=0..7> [nominal_msdu_size=#] [mean_data_rate=#] [min_phy_rate=#] [sba=#] [fixed_nominal_msdu] = add WMM-AC traffic stream
  wmm_ac_delts <tsid> = delete WMM-AC traffic stream
  wmm_ac_status = show status for Wireless Multi-Media Admission-Control
  tdls_chan_switch <addr> <oper class> <freq> [sec_channel_offset=] [center_freq1=] [center_freq2=] [bandwidth=] [ht|vht] = enable channel switching with TDLS peer
  tdls_cancel_chan_switch <addr> = disable channel switching with TDLS peer <addr>
  signal_poll = get signal parameters
  signal_monitor = set signal monitor parameters
  pktcnt_poll = get TX/RX packet counters
  reauthenticate = trigger IEEE 802.1X/EAPOL reauthentication
  wnm_sleep <enter/exit> [interval=#] = enter/exit WNM-Sleep mode
  wnm_bss_query <query reason> [list] [neighbor=<BSSID>,<BSSID information>,<operating class>,<channel number>,<PHY type>[,<hexdump of optional subelements>] = Send BSS Transition Management Query
  raw <params..> = Sent unprocessed command
  flush = flush wpa_supplicant state
  radio_work = radio_work <show/add/done>
  vendor <vendor id> <command id> [<hex formatted command argument>] = Send vendor command
  neighbor_rep_request [ssid=<SSID>] [lci] [civic] = Trigger request to AP for neighboring AP report (with optional given SSID in hex or enclosed in double quotes, default: current SSID; with optional LCI and location civic request)
  erp_flush = flush ERP keys
  mac_rand_scan <scan|sched|pno|all> enable=<0/1> [addr=mac-address mask=mac-address-mask] = scan MAC randomization
  get_pref_freq_list <interface type> = retrieve preferred freq list for the specified interface type
  p2p_lo_start <freq> <period> <interval> <count> = start P2P listen offload
  p2p_lo_stop = stop P2P listen offload
  dpp_qr_code report a scanned DPP URI from a QR Code
  dpp_bootstrap_gen type=<qrcode> [chan=..] [mac=..] [info=..] [curve=..] [key=..] = generate DPP bootstrap information
  dpp_bootstrap_remove *|<id> = remove DPP bootstrap information
  dpp_bootstrap_get_uri <id> = get DPP bootstrap URI
  dpp_bootstrap_info <id> = show DPP bootstrap information
  dpp_auth_init peer=<id> [own=<id>] = initiate DPP bootstrapping
  dpp_listen <freq in MHz> = start DPP listen
  dpp_stop_listen = stop DPP listen
  dpp_configurator_add [curve=..] [key=..] = add DPP configurator
  dpp_configurator_remove *|<id> = remove DPP configurator
  dpp_configurator_get_key <id> = Get DPP configurator's private key
  dpp_configurator_sign  conf=<role> configurator=<id> = generate self DPP configuration
  dpp_pkex_add add PKEX code
  dpp_pkex_remove *|<id> = remove DPP pkex information
  ignore_hw_pbc <0/1> = accept/ignore hw pbc event
  add_wps_pbc_ssid_filter <SSID sub-string> = add SSID sub-string to match
  del_wps_pbc_ssid_filter <SSID sub-string> = del SSID sub-string
  show_wps_pbc_ssid_filters = show SSID filters
  wps_status = get WPS status
  wps_timeout <timeout> = set WPS timeout value
  specific_scan <value> = set specific_scan parameter
  scan_buf_max_size <value> = scan results buffer max size

這功能也太多了,包山包海啊!!!
所以 Interactive mode 也有點困難。所以還是用Command line模式。

第二步:

# wpa_cli list_network <Enter>
Selected interface 'wifi0' 
network id  ssid /bssid /  flags
0                 7531_5G---      any

這裡是說,在網路 wifi0 有看到一個基地台,SSID叫做 7531_5G--- 

接下若沒有可以用add_network來加入。先用

# ifconfig <Enter> 這裡會列出所有網路的介面:

- eth1_0  // Gigabit Ethernet Port 0
- eth1_1 //  Gigabit Ethernet Port 0
- lo :       // Loopback port
- wifi0   // 5GHz uplink Wi-Fi Port
- wifi1   // 5Ghz access point Wi-Fi Port
- wlan0 // 2.4GHz Wi-Fi LAN port

如果沒有看到上面的命令的結果,可以用下面的命令,增加 

# wpa_cli add_network

加入後會取得一個ID,之後set_network要指定network ID
也可以用remove_network來移除網路。原先Network_Id 已經是 0,再設一次,就變成 1。

# wpa_cli remove_network

network可以同時間有好幾個,但enable只能有一個。

步驟三:

搜尋AP,並設定protocols key....
  
# wpa_cli scan <Enter>
OK
# wpa_cli scan_result <Enter>
Selected interface 'wifi0'
xx:xx:xx:xx:xx:xx       channel quality signal  noise   snr     intf    ch_util sta_cnt cascade rptype  rphyrat htcap   maxbw   nss     mcs cur_chan gap_40     gap_80  bf      phyrate thpt    flags / ssid
AC:6F:BB:99:32:8F       157     34      -56     -86     32      111     3       1       0       0       0       2       2       4       8       157     0       0       1       1386    1386    [WPA2-PSK-CCMP][WPS][ESS]  7531-NoRework-5G
1C:3B:F3:DC:E9:B3       157     18      -72     -86     16      111     0       0       0       0       0       2       2       3       3       0       0       0       0       346     346     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]  TP-Link_E9B4
84:0B:7C:5D:C9:57       149     5       -85     -87     3       4       0       0       0       0       0       2       2       4       0       0       0       0       0       129     129     [WPA2-PSK-CCMP][ESS]       5880-5G
04:D4:C4:2D:5E:7C       36      3       -87     -86     1       0       0       0       0       0       0       2       2       2       0       0       0       0       0       65      65      [WPA2-PSK-CCMP][ESS]       pai_5G
接下來些AP中的其中之一 (以下以 Wizelink-5G 為例)
# wpa_cli -i wifi0 ssid ".Wizelink'" key_mgmt WPA2-PSK psk '"00000000"'

假設新wifi的網絡ID為0 
設置wifi的ssid 
ssid需要添加雙引號,雙引號還要加斜槓或者單引號 
設置加密方式,WPA-PSK代表:WPA-PSK/WPA2-PSK 
psk : 設置wifi密碼,和帳號一樣需要雙引號 psk '"12345678"' 

這個步驟只是將連線資料設定起來,要連線還要下一個命令:

# wpa_cli scan
# wpa_cli scan_result
Selected interface 'wifi0'
bssid / frequency / signal level / rate / protocol caps / flags / ssid
xx:xx:xx:xx:xx:xx 2412 -45 54M 802.11b/g BW20 [WPA2-PSK-TKIP][ESS] MyWifiAP
# wpa_cli -i wifi0 remove_network 0
# wpa_cli -i wifi0 add_network
0
# wpa_cli -i wifi0 set_network 0 ssid '"MyWifiAP"'
OK
# wpa_cli -i wifi0 set_network 0 key_mgmt WPA-PSK
OK
# wpa_cli -i wifi0 set_network 0 psk '"Password"'
OK
# wpa_cli -i wifi0 set_network 0 pairwise TKIP
OK
# wpa_cli -i wifi0 set_network 0 group TKIP
OK
# wpa_cli -i wifi0 set_network 0 proto RSN
OK
# wpa_cli -i wifi0 enable_network 0
OK
# wpa_cli -i wifi0 select_network 0
OK
# wpa_cli -i wifi0 status
wpa_state=SCANNING
address=AC:6F:BB:AC:35:88
uuid=3cf09dec-a853-5ddd-bd9b-1eb7417afd58

再次查看狀態,查看是否已經連接網絡。wpa_state=COMPLETED表示完成連接,但是如果signal_level比較小時表示實際沒有連接 

# wpa_cli -i wlan0 status 

保存wifi配置,最好在啟用wifi後再保存,否則保存的wifi 預設為禁用的 

# wpa_cli -i wlan0 save_config
  
之後可以用ifconfig 或iwconfig來確認是否有抓到IP。

2020年6月15日 星期一

WAP-7531 MESH的 UCI 架構與使用方式

UCI 是 Unified Configuration Interface 的簡寫,這其實是 OpenWRT 的中央控管工具。這工具主要是提供一個命令列模式的操作介面,來修改系統中的Configuration File。這些組態檔案都是TEXT FILE,所以也可以使用 vi 直接修改。

WAP-7531 MESH 的組態檔全部在 /mnt/mtd/config 下面:
# ls -l /mnt/mtd/config <Enter>
-rw-r--r--    1 root     root          47 Dec 31  1969  clients
-rw-r--r--    1 root     root          74 Dec 31  1969  mesh
-rw-r--r--    1 root     root          823 Jun 12  22:47 netcwmp
-rw-r--r--    1 root     root          202 Dec 31  1969  network
-rw-r--r--    1 root     root          505 Dec 31  1969  sci
-rw-r--r--    1 root     root          366 Jan  1  1970  system
-rw-r--r--    1 root     root          159 Dec 31  1969  users
-rw-r--r--    1 root     root          223 Dec 31  1969  vision
-rw-r--r--    1 root     root         1685 Jun 12 22:34  wireless
 檔案的位置說明
 /mnt/mtd/config/clients裝置的名稱
 /mnt/mtd/config/meshMesh的相關設定 
 /mnt/mtd/config/netcwmpTR-069 Client 的相關設定 
 /mnt/mtd/config/networkDHCP and IP 的相關設定
 /mnt/mtd/config/sciSCI的相關設定
 /mnt/mtd/config/system系統維護用的相關設定
 /mnt/mtd/config/userstelent/WebUI 的帳號密碼設定
 /mnt/mtd/config/vision版本的相關設定
 /mnt/mtd/config/wireless無線網路的相關設定 

# uci <Enter>
Usage: uci [<options>] <command> [<arguments>]
Commands:
        batch
        export     [<config>]
        import     [<config>]
        changes    [<config>]
        commit     [<config>]
        add        <config> <section-type>
        add_list   <config>.<section>.<option>=<string>
        del_list   <config>.<section>.<option>=<string>
        show       [<config>[.<section>[.<option>]]]
        get        <config>.<section>[.<option>]
        set        <config>.<section>[.<option>]=<value>
        delete     <config>[.<section>[[.<option>][=<id>]]]
        rename     <config>.<section>[.<option>]=<name>
        revert     <config>[.<section>[.<option>]]
        reorder    <config>.<section>=<position>
Options:
        -c <path>  set the search path for config files (default: /mnt/mtd/config)
        -d <str>   set the delimiter for list values in uci show
        -f <file>  use <file> as input instead of stdin
        -m         when importing, merge data into an existing package
        -n         name unnamed sections on export (default)
        -N         don't name unnamed sections
        -p <path>  add a search path for config change files
        -P <path>  add a search path for config change files and use as default
        -q         quiet mode (don't print error messages)
        -s         force strict mode (stop on parser errors, default)
        -S         disable strict mode
        -X         do not use extended syntax on 'show'
        -D         allow duplicate entry when add_list or import

1. Clients

 config 'clients' 'qtn'                        # Client 的命字叫做 qtn, 要改成 tti    
                option acl_enable '0'   # ACL 預設為沒有啟動。

2. Mesh
config qtn-custom           'soniq'   
        option enable           '1'  # Enable/Disable SONiQ
        option master_preferred '0'   # Force SONiQ role to Master or not.
3. Netcwmp
config qtn-custom 'cwmp'
        option enable '1'
        option acs_url 'http://acs.andromeda.tti.tv:8085/tr069'
        option acs_auth '1'
        option cpe_auth '0'
        option cpe_username 'qtna'
        option cpe_password 'qtna'
        option acs_username 'WAP-7531'
        option acs_password '00000000'
        option ca_file '/etc/ssl/private/ca.pem'
        option ca_password '123456'
        option cpe_name 'Wizelink'
        option cpe_pc 'Wizelink 7531'
        option cpe_manufacture 'Wizelink'
        option event_filename '/mnt/mtd/.cwmpevent.bin'
        option pinform_enable '0'
        option pinform_interval '90020'
config qtn-custom 'cwmpd'
        option udp_port '5400'
        option httpd_port '5400'
        option http_timeout '5'
config qtn-custom 'stun'
        option enable '0'
        option server_addr 'acs.andromeda.tti.tv'
        option server_port '3478'
        option max_keepalive_period '10'
        option min_keepalive_period '5'
4. Network

config interface 'br0'
        option proto    'dhcp'
        option ipaddr   '192.168.1.50'
        option netmask  '255.255.255.0'
        option domain_name 'wizelink7531.tti.tv'
        option hostname 'Wizelink'
        option gateway '0.0.0.0'

5. SCI
config qtn-custom 'scid'
   option enable '0'
   option report_interval '600'
config qtn-custom 'mqtt1'
   option topic_sub 'spartan/default'
   option topic_pub 'spartan/default'
   option server_url '121.196.198.148'
   option username 'admin'
   option password 'admin'
   option port '8885'
   option qos 2
   option usessl '1'
   option ca_certificate '/etc/certs/ca_certificate.pem'
   option client_certificate '/etc/certs/client_certificate.pem'
   option client_key '/etc/certs/client_key.pem'
6. System
config qtn-custom 'qtn'
        option config_id_ro 'spartan'
        option booster_is_strict_ap '1'
        option def_config_md5_ro 'd1766a9d7c241576ea4dc77e1c9092bd'
        option onboarding_done '1'
config qtn-custom 'services'
        option telnetd '0'
        option crond '1'
config qtn-custom 'ntpclient'
        option enable '1'
        option ntpserver 'pool.ntp.org'
        option ntpserver2 '1.pool.ntp.org'
7. Users
config user 'admin'
        option password '21232f297a57a5a743894a0e4a801fc3'
config user 'super'
        option password '1b3231655cebb7a1f783eddf27d254ca'
8. Vision
config qtn-custom         'qharvestd'     
        option enable     '1'       # Enable/Disable qharvestd.
        option client_id  '9002'    # Client_id of qharvestd.
        option baseurl    'https://qharvest-prod.quantenna.com'
        option verbose    '0'       # if verbose =0, then debug=4, verbose=0, debug = 3
        option upgrade    '0'      # enable/disable support remote upgrade
        option pty        '0'      # enable/disable remote terminal
        option device_id  ''        # Device_id of qharvesetd
        option secret     ''       # Secret of qharvesetd
9. Wireless
config qtn-custom 'qtn'
        option duplicate_rootap '1'
        option max_hop '2'
config wifi-device 'radio0'
        option channel '0'
        option hwmode '11a'
        option htmode 'VHT80'
        option beacon_int '100'
        option short_gi '1'
        option mu_support '1'
        option mu_enable '0'
config wifi-device 'radio1'
        option channel '0'
        option hwmode '11g'
        option htmode 'HT20'
        option beacon_int '100'
        option short_gi '1'
config wifi-iface 'sta'
        option device 'radio0'
        option encryption 'psk2+aes'
        option ieee80211w '0'
        option key '00000000'
        option ssid '7531_5G---'
config wifi-iface 'r0vap0'
        option device 'radio0'
        option enable '1'
        option encryption 'psk2+aes'
        option ieee80211w '0'
        option ieee80211r '1'
        option nas_id '000a'
        option hidden '0'
        option macfilter 'disable'
        option key '00000000'
        option mobility_domain '0001'
        option ssid '7531_5G---'
config wifi-iface 'r0vap1'
        option device 'radio0'
        option enable '0'
        option encryption 'psk2+aes'
        option key '12345678'
        option ieee80211w '0'
        option ieee80211r '1'
        option nas_id '000b'
        option hidden '0'
        option macfilter 'disable'
        option ssid 'Wizelink_Guest'
        option mobility_domain '0002'
config wifi-iface 'r1vap0'
        option device 'radio1'
        option enable '1'
        option encryption 'psk2+aes'
        option ieee80211r '1'
        option hidden '0'
        option macfilter 'disable'
        option key '00000000'
        option ssid '7531_2.4G---'
        option mobility_domain '0003'
config wifi-iface 'r1vap1'
        option device 'radio1'
        option enable '0'
        option encryption 'psk2+aes'
        option key '12345678'
        option ieee80211r '1'
        option hidden '0'
        option macfilter 'disable'
        option ssid 'Wizelink_Guest'
        option mobility_domain '0002'
config qtn-custom 'global_conf'



2020年6月14日 星期日

用 syslogd 收集遠端STB/ROUTER的Error Messages


由於測試的機台,常常自動REBOOT,所以這時候出了問題,都不知道問題點,這時候syslogd -r 的功能便有用了。由於要記錄到伺服器上,所以比然要先準備一台Linux Server。就是公司的舊筆電可以派上用場:

一、Syslog伺服器端的設定

1. 預設syslog是不開啟網路功能,若要啟用這個功能,必須在啟動syslogd時加上參數 -r 才行。

修改/etc/systemd/system/syslog.service 這個設定檔即可

# vi /etc/syslog.conf

修改成下面這個參數

SYSLOGD_OPTIONS=”-m 0 -r”

2. 確定/etc/service是否有syslog的設定,若沒有這個設定就沒辦法接受或傳送記錄,甚至無法啟動syslog囉。

#  vi /etc/service

請確定有下面這個設定,沒有的話請自行加上

syslog 514/udp

3. 重新啟動syslog

# /sbin/service syslog restart

4. 檢查syslog是否監聽UDP 514

#  netstat -tulp
udp 0 0 0.0.0.0:514 0.0.0.0:* 3830/syslogd

就是有開了。

二、syslog 機台端的設定

客戶端的設定還滿簡單的,只要稍微修改syslog.conf即可

# vi /etc/syslog.conf

把原本寫在/var/log/messages裡的記錄送到位於192.168.1.10的syslogd
只要將/var/log/messages改為@hostname就可以了

*.info;mail.none;authpriv.none;cron.none @192.168.1.10

若你者機可以解析主機名稱,當然你也可以使用主機名稱代替IP
若沒有DNS也可以寫死在/etc/hosts裡

mail.* @syslog.myserver.com

重啟syslogd後,你可以到伺服器端的/var/log/messages看看是否有將記錄轉送過來

# service syslog restart

特別注意事項

在設定syslog時要特別注意不要造成syslog-loops的迴圈情況,很快的你會發現你的硬碟被一堆相同的訊息塞滿。

2020年6月12日 星期五

WAP-7531 MESH的開機程序

Boot reached stage 13
Boot reached stage 12
Valid CRC found in flash restoring env...
Boot reached stage 11
board_hw_config_iterate: bc_phy1_addr value from config 3 doesn't match expected value 1
hw_config_id 65535: 'QHS860'
Cold boot
Reset status: 0x00000001
PCIe early init, done@461ms

Info: data uncached: addr=0xc0000000 size=1024MB
Info: text at 0x98040000, stack at 0x98013ffc(8192), heap at 0x98000000(73728), uboot size 182700
Info: i-cache is enabled
Info: d-cache is enabled
Info: CPU freq is 500000000, dev freq is 125000000

Info: Quantenna U-Boot version:SEv1.2v37.4.0.198
Info: build date ' 5月 30 2019', time '14:50:24'

SPI flash info:
        name             : mx25l25635f
        jedec_id         : 0xc22019
        sector size      : 65536
        number of sector : 512
        frequency        : 104000000
        flags            : 0x0
        lock             :
DDR_INIT: type = 16, speed = 2, size = 268435456, rev = 0x43, param = 0x0
DDR_INIT: replacing invalid param = 0x0 with default 0xe7b
500MHz
init board as PCIe Root Complex mode
BDA at 0x80002000
In:    serial
Out:   serial
Err:   serial
Boot reached stage 64
PHY found on MDIO addr:1
PHY 0x1cc915 found on MDIO addr:1
Enable phy SSC
PHY found on MDIO addr:3
PHY 0x1cc915 found on MDIO addr:3
Enable phy SSC
Boot reached stage 65
br
Hit any key to stop autoboot:  0
get_qtnboot_envvars: vars: safety_image_addr 0x40000 safety_image_size 0x9e0000 live_image_addr 0xa20000 live_image_size 0x9e0000
do_bootselect: spi_flash read 0x00040000 0x83000000 0x009e0000
Read: flash=0x40000 mem=0x83000000 size=10354688 ret_size=10354688
do_bootselect: bootm 0x83000000
Boot reached stage 1
## Booting kernel from Legacy Image at 83000000 ...
Boot reached stage 2
Boot reached stage 3
   Image Name:   SE3.0.0.3
   Image Type:   arc Linux Kernel Image (lzma compressed)
   Data Size:    8712835 Bytes =  8.3 MB
   Load Address: 8493a000
   Entry Point:  8493a000
   Qtn flags:    00000001
   Signature value:
55 bc 71 8c d5 e4 e6 6c 83 69 cd 47 17 4c ef 15
   Verifying Checksum ... OK
Boot reached stage 4
Boot reached stage 5

        rsa,num-bits:   2048

        rsa,n0-inverse: 0x193908d9
Certification check successfully
Boot reached stage 6
Boot reached stage 14
   Uncompressing Kernel Image ... OK
Boot reached stage 7
Boot reached stage 8
Command line TAG setup
Params->u.cmdline.cmdline console=ttyS0,115200n8 earlyprintk=1 hw_config_id=65535 mtdparts=spi_flash:128k(uboot),64k(uboot_env),64k(uboot_env_bak),10112k(linux_safety),10112k(linux_live),-(data)
p console=ttyS0,115200n8 earlyprintk=1 hw_config_id=65535 mtdparts=spi_flash:128k(uboot),64k(uboot_env),64k(uboot_env_bak),10112k(linux_safety),10112k(linux_live),-(data)
##  Unset TAG qtn_flags 1
## Transferring control to Linux (at address 8493a000) ATAG parameters 9806a0b4 - 9806a17c...
[    0.000000] Linux version 2.6.35.12 (wilson@volume.local) (gcc version 4.2.3 (ARC_2.3)) #268 Tue Jun 9 16:39:05 CST 2020
[    0.000000] Parsing ATAG parameters from bootloader
[    0.000000] ATAG_CORE: successful parsing
[    0.000000] ATAG_CMDLINE: command line = console=ttyS0,115200n8 earlyprintk=1 hw_config_id=65535 mtdparts=spi_flash:128k(uboot),64k(uboot_env),64k(uboot_env_bak),10112k(linux_safety),10112k(linux_live),-(data)
[    0.000000] Board id: 65535
[    0.000000] ATAG_HW_CONFIG_ID: hw_config_id = 65535
[    0.000000]
[    0.000000] Processor Family: ARC 700 [0x33]
[    0.000000] CPU speed :      500.00 Mhz
[    0.000000] Timers:  TIMER1 TIMER0
[    0.000000] Interrupt Vect Base:     0x98051c00
[    0.000000] Peripheral Base: NOT present; assuming 0xCOFC0000
[    0.000000] Data UNCACHED Base (I/O): start 0xc0 Sz, 1024 MB
[    0.000000] ARC700 MMU Ver [2]
[    0.000000]    PAGE SIZE 8k
[    0.000000]    JTLB 128 x 2 = 256 entries
[    0.000000]    uDTLB 8 entr, uITLB 4 entr
[    0.000000] TLB Refill "will NOT" Flush uTLBs
[    0.000000] Detected I-cache :
[    0.000000]   Type=2 way set-assoc, Line length=32, Size=16K (enabled)
[    0.000000] Detected D-cache :
[    0.000000]   Type=4 way set-assoc, Line length=32, Size=16K (enabled)
[    0.000000] Extensions:
[    0.000000]    MPY: 32x32 with ANY Result Reg   MAC MPY: Dual 16 x 16 and 32 x 16
[    0.000000]    DCCM: N/A  ICCM: N/A
[    0.000000]    CRC: N/A,   SWAP: Present   NORM: Present
[    0.000000]    Min-Max: Present,   Barrel Shifter: Present
[    0.000000]    Ext Arith Insn: Present
[    0.000000] Floating Point Extension: N/A
[    0.000000] On node 0 totalpages: 32767
[    0.000000] free_area_init_node: node 0, pgdat 865c82dc, node_mem_map 8667a024
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32623 pages, LIFO batch:7
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32623
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk=1 hw_config_id=65535 mtdparts=spi_flash:128k(uboot),64k(uboot_env),64k(uboot_env_bak),10112k(linux_safety),10112k(linux_live),-(data)
[    0.000000] bootconsole [ruby_early0] enabled
[    0.000000] PID hash table entries: 1024 (order: -1, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 4, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 3, 65536 bytes)
[    0.000000] Memory: 155776KB available (2220K code,1235K data, 26488K init)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU debugfs-based tracing is enabled.
[    0.000000]  Verbose stalled-CPUs detection is disabled.
[    0.000000] clockevent mode switch to [1]
[    0.000000] clockevent mode switch to [2]
[    0.000000] Calibrating delay loop... 249.03 BogoMIPS (lpj=622592)
[    0.115000] pid_max: default: 4096 minimum: 301
[    0.120000] Mount-cache hash table entries: 1024
[    0.125000] Starting run_ksoftirqd, stack (thread_info) at 865ec000 cpu 0
[    0.130000] NET: Registered protocol family 16
[    0.135000] Topaz heap 1 in SRAM 98015e20<->98020000
[    0.140000] Topaz heap 2 in SRAM 98011000<->98012000
[    0.150000] bio: create slab <bio-0> at 0
[    0.155000] pci 0000:00:00.0: reg 10: [io  0x0000-0x00ff]
[    0.160000] pci 0000:00:00.0: reg 18: [mem 0x00000000-0x00003fff 64bit]
[    0.165000] pci 0000:00:00.0: supports D1 D2
[    0.170000] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.175000] pci 0000:00:00.0: PME# disabled
[    0.180000] pcibios_fixup_bus called bus name  no 0 flags 0 next_dev 8f817400
[    0.185000] pcibios_fixup_bus: Device [ 0: 0.0] has mem 1 io 1 cmd 0
[    0.190000] pcibios_fixup_bus: Enabling I/O for device [ 0: 0.0]
[    0.195000] pcibios_fixup_bus: Enabling memory for device [ 0: 0.0]
[    0.200000] pci 0000:00:00.0: BAR 2: assigned [mem 0xc0000000-0xc0003fff 64bit]
[    0.205000] pci 0000:00:00.0: BAR 2: set to [mem 0xc0000000-0xc0003fff 64bit] (PCI address [0xc0000000-0xc0003fff]
[    0.210000] pci 0000:00:00.0: BAR 0: can't assign io (size 0x100)
[    0.215000] pci_bus 0000:00: resource 1 [mem 0xc0000000-0xc1ffffff]
[    0.220000] PCI Bus Scan completed!
[    0.225000] watch64: 2003/08/22 Josef 'Jeff' Sipek <jeffpc@xxxxxxxxxxxxx>
[    0.230000] watch64: Enabling Watch64 extensions...done.
[    0.235000] Switching to clocksource ARC Timer1
[    0.245000] NET: Registered protocol family 2
[    0.250000] IP route cache hash table entries: 2048 (order: 0, 8192 bytes)
[    0.255000] TCP established hash table entries: 8192 (order: 3, 65536 bytes)
[    0.260000] TCP bind hash table entries: 8192 (order: 2, 32768 bytes)
[    0.265000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.270000] TCP reno registered
[    0.270000] NET: Registered protocol family 1
[    0.275000] PCI: CLS 0 bytes, default 32
[    1.120000] JFFS2 version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
[    1.125000] msgmni has been set to 304
[    1.130000] io scheduler noop registered (default)
[    1.560000] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[    1.570000] serial8250.0: ttyS0 at MMIO 0xf0000000 (irq = 48) is a 16550A
[    1.575000] console [ttyS0] enabled, bootconsole disabled
[    1.575000] console [ttyS0] enabled, bootconsole disabled
[    1.585000] brd: module loaded
[    1.590000] loop: module loaded
[    1.600000] spi_flash: Force not to support Protect Mode
[    1.605000] 6 cmdlinepart partitions found on MTD device spi_flash
[    1.610000] Creating 6 MTD partitions on "spi_flash":
[    1.615000] 0x000000000000-0x000000020000 : "uboot"
[    1.620000]  mtd: partition uboot is readonly
[    1.630000] 0x000000020000-0x000000030000 : "uboot_env"
[    1.635000]  mtd: partition uboot_env is readonly
[    1.640000] 0x000000030000-0x000000040000 : "uboot_env_bak"
[    1.650000] 0x000000040000-0x000000a20000 : "linux_safety"
[    1.660000] 0x000000a20000-0x000001400000 : "linux_live"
[    1.665000] 0x000001400000-0x000002000000 : "data"
[    1.675000] spi_flash: SPI flash driver initialized successfully!
[    1.680000] ruby_health loading
[    1.685000] HBM pool: emac rx 0x0 to 0x8000, wmac rx 0x8000 to 0xa000
[    2.085000] HBM meta: emac rx 0x63c040 to 0x6bc040, wmac rx 0x6bc080 to 0x6dc080
[    2.090000] topaz_hbm_init_pool_list pool 0 pool_list 0x98000000 bus_range 0x816ec400 to 0x826ec400 sz 2048 count 8192
[    2.090000] topaz_hbm_init_pool_list pool 1 pool_list 0x98008000 bus_range 0x826fc400 to 0x848fc400 sz 17408 count 2048
[    2.090000] topaz_hbm_init_pool_list pool 3 pool_list 0x9800a000 bus_range 0x0 to 0x0 sz 0 count 4096
[    2.095000] topaz_busmon_init success
[    2.100000] topaz_temp_sens_init success
[    2.105000] u32 classifier
[    2.105000]     input device check on
[    2.110000]     Actions configured
[    2.115000] Netfilter messages via NETLINK v0.30.
[    2.120000] nf_conntrack version 0.5.0 (2434 buckets, 9736 max)
[    2.125000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.130000] TCP cubic registered
[    2.135000] NET: Registered protocol family 10
[    2.140000] NET: Registered protocol family 17
[    2.145000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[    2.150000] All bugs added by David S. Miller <davem@redhat.com>
D[    2.165000] Freeing unused kernel memory: 26488k freed [8493a000] TO [86318000]
[    2.170000] Common mmap addr-space starts 290f0000
init started: BusyBox v1.10.3 (2020-01-14 10:42:01 CST)
starting pid 62, tty '': '/etc/init.d/rcS'
[    2.720000] load_module: 'bootcfg' using DRAM (offset:0x8d3d0000, size:0x9acd)
/scripts/cmdloop starting /scripts/ubus_evt_handler_d, at 00:00:03 up 0 min, load average: 0.00, 0.00, 0.00
/scripts/cmdloop starting /usr/sbin/ubusd, at 00:00:03 up 0 min, load average: 0.00, 0.00, 0.00
/etc/init.d/S02notifier: line 14: /usr/sbin/notifier: not found
Initializing random number generator... done.
/mnt/jffs2/wireless_conf.txt not found. Creating a default conf file
restore_wireless_conf
restore_wireless_conf: wifi_mode = default
restore_wireless_conf: Setting default wireless config params
restore_wireless_conf: board_id = 65535
restore_wireless_conf: board_name = QHS860
restore_wireless_conf: Writing config params to /mnt/jffs2/wireless_conf.txt
Starting network...
[    4.725000] load_module: 'rtl8367b' using DRAM (offset:0x8d400000, size:0x32a1d)
[    4.735000] rtl8367b: module license 'unspecified' taints kernel.
[    4.740000] Disabling lock debugging due to kernel taint
[    4.795000] load_module: 'emaclib' using DRAM (offset:0x8d3c8000, size:0x549b)
[    4.925000] load_module: 'switch_vlan' using DRAM (offset:0x8d320000, size:0x28b6), SRAM (offset:0x98015e28, size:0x1)
[    5.050000] load_module: 'switch_tqe' using DRAM (offset:0x8d328000, size:0x5728), SRAM (offset:0x98015e38, size:0x4)
[    5.105000] tqe_descs_alloc: 512 tqe_rx_descriptors at kern uncached 0x4f0b9e60 bus 0x98015e60
[    5.195000] load_module: 'fwt_if' using DRAM (offset:0x8d2ca000, size:0x1aad)
[    5.230000] load_module: 'fwt_ctrl' using DRAM (offset:0x8d440000, size:0x23aea)
[    5.265000] Failed to allocate SRAM IP-MAC lookup table, size 0x608
[    5.285000] load_module: 'dpi' using DRAM (offset:0x8d376000, size:0x1d5d)
[    5.320000] load_module: 'switch_emac' using DRAM (offset:0x8d2e4000, size:0x25e9), SRAM (offset:0x98018298, size:0x2f8)
[    5.390000] emac wbsp: 0
[    5.395000] enable A2 (single)
[    5.455000] Random stuff 44
[    6.115000] emac_eth_mii: probed
[    6.115000] emac_lib eth1_emac0: index 0 id 0x1cc915 addr 0
[    6.120000] emac_lib eth1_emac0: index 1 id 0x1cc915 addr 1
[    6.125000] emac_lib eth1_emac0: index 3 id 0x1cc915 addr 3
[    6.130000] emac_lib eth1_emac0: phy_id 0x1cc915 addr 1
[    6.165000] emac_lib eth1_emac0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=mdio_bus, irq=-1)
[    6.820000] emac_eth_mii: probed
[    6.820000] emac_lib eth1_emac1: index 0 id 0x1cc915 addr 0
[    6.825000] emac_lib eth1_emac1: index 1 id 0x1cc915 addr 1
[    6.830000] emac_lib eth1_emac1: index 3 id 0x1cc915 addr 3
[    6.835000] emac_lib eth1_emac1: phy_id 0x1cc915 addr 3
[    6.870000] emac_lib eth1_emac1: attached PHY driver [Generic PHY] (mii_bus:phy_addr=mdio_bus, irq=-1)
emac0 is eth1_1, emac1 is eth1_0
Stateless mode. Using temporary ip address:
Using IP address 192.168.1.50
Using netmask 255.255.255.0
cat: can't open '/mnt/jffs2/eth_macaddr': No such file or directory
[    7.540000] device eth1_0 entered promiscuous mode
[    7.545000] br0: port 1(eth1_0) entering forwarding state
[    7.550000] br0: port 1(eth1_0) entering forwarding state
[    7.720000] device eth1_1 entered promiscuous mode
/sbin/ifup -a
[    7.910000] ADDRCONF(NETDEV_UP): eth1_1: link is not ready
Version of /proc/bootcfg/qtn_regulatory_db.bin is Regulatory db version: v37.4.0.146
Version of /etc/qtn_regulatory_db.bin is Regulatory db version: v37.4.0.226
Selected database version: Regulatory db version: v37.4.0.226
Using /etc/qtn_regulatory_db.bin
[    8.120000] wizelink7531.tti.tv will be hijacked
dnsmasq: started, version 2.22 cachesize 150
dnsmasq: cleared cache
/scripts/cmdloop starting /usr/sbin/ndev, at 00:00:08 up 0 min, load average: 0.16, 0.03, 0.01
Starting qevt_server
Telnet disabled
/scripts/cmdloop starting /sbin/qevt_server, at 00:00:08 up 0 min, load average: 0.16, 0.03, 0.01
PCIe host enabled
[    8.835000] load_module: 'qdpc_host' using DRAM (offset:0x8d580000, size:0x5898), SRAM (offset:0x9801e638, size:0xf84)
[    8.950000] br0: port 1(eth1_0) entering forwarding state
Jan  1 00:00:09 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:09 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:09 qevt_server: Dot11Msg:Interface status change TRUE
ifconfig: host0: error fetching interface information: Device not found
[    9.245000] eth1_1: link up (1000/Full)
[    9.245000] ADDRCONF(NETDEV_CHANGE): eth1_1: link becomes ready
[    9.250000] br0: port 2(eth1_1) entering forwarding state
[    9.255000] br0: port 2(eth1_1) entering forwarding state
Jan  1 00:00:09 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:09 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:09 qevt_server: Dot11Msg:Interface status change TRUE
[    9.395000] FWT: [ac:6f:bb:b0:dd:2a] add entry, port:emac0 node:0 index:987 4addr:0 entries:1
[    9.565000] load_module: 'hw_rev' using DRAM (offset:0x8d37c000, size:0x360e)
Starting wireless...
restore_default_config -nr
restore_wireless_conf ap
restore_wireless_conf: wifi_mode = ap
restore_wireless_conf: Setting default wireless config params
restore_wireless_conf: board_id = 65535
restore_wireless_conf: board_name = QHS860
restore_wireless_conf: Writing config params to /mnt/jffs2/wireless_conf.txt
restore_default_config: Updating security config files for mode ap
restore_default_config: Removing block ACK restrictions
restore_default_config: Configuration has been set to default values. Reboot after customizing to ensure correct operation.
[   11.205000] FWT: [ac:6f:bb:19:45:aa] add entry, port:emac0 node:0 index:349 4addr:0 entries:2
complete
[   13.930000] FWT: [6a:de:cd:da:ab:a2] add entry, port:emac0 node:0 index:1016 4addr:0 entries:3
Using IP address 192.168.1.50
Using netmask 255.255.255.0
Loading modules
[   16.305000] load_module: 'qtn_debug' using DRAM (offset:0x8d3fb400, size:0x32d)
[   16.385000] load_module: 'i2cbus' using DRAM (offset:0x8d3a2000, size:0x1c84)
[   16.500000] load_module: 'qtsens' using DRAM (offset:0x8d2ec800, size:0x76c)
[   16.590000] load_module: 'pm_interval' using DRAM (offset:0x8d2f8000, size:0x14f8)
[   16.750000] load_module: 'wlan' using DRAM (offset:0x8d700000, size:0xc3823)
[   17.110000] FWT: [34:f3:9a:25:e3:38] add entry, port:emac0 node:0 index:397 4addr:0 entries:4
[   17.130000] wlan: 0.8.4.2 (0.9.3.3)
[   17.330000] load_module: 'auc_fw' using DRAM (offset:0x8d266000, size:0x884)
[   17.450000] load_module: 'qvspmod' using DRAM (offset:0x8d504000, size:0x3eab)
[   17.485000] QVSP module init
[   17.550000] load_module: 'qdrv' using DRAM (offset:0x85800000, size:0xa783a)
[   17.885000] qdrv wbsp: 0
[   17.990000] load_module: 'wlan_xauth' using DRAM (offset:0x8d55bc00, size:0x2e4)
[   18.050000] br0: no IPv6 routers present
[   18.100000] load_module: 'wlan_ccmp' using DRAM (offset:0x8d3ee000, size:0x1734)
[   18.220000] load_module: 'wlan_tkip' using DRAM (offset:0x8d680000, size:0x25e8)
Loading MuC driver (qtn_driver.qtn_ruby_spartan.0.bin)
no keyfile specified
unable to load Public Key
Waiting for Wireless Events from interfaces...
[   19.730000] set power_selection 2
[   19.740000] qdrv_soc_publish_params: parames->tqe_sem_en 0, auc_tqe_sem_en 0
[   19.745000] ..... Current RFIC Chip ID -- 4
[   19.910000] AuC SRAM start 0x98040000 end 0x98070000 size 196608
[   19.915000] AuC is configured for MU-enabled SRAM layout
[   19.920000] AuC SRAM bank 0 start 0x98040000 end 0x98050000
[   19.925000] AuC SRAM bank 1 start 0x98050000 end 0x98060000
[   19.930000] AuC SRAM bank 2 start 0x98060000 end 0x98070000
[   19.990000] qdrv_mac_reserve_clear: mac reservation table cleared
[   20.005000] qdrv_wlan_80211_updateslot: vap is NULL
[   20.010000] QDRV: I2C dapter not found
[   20.140000] qdrv_mu_stat_init
[   20.200000] MuC: g_tqe_sem_en 0
[   20.200000] MuC: build date Mon, 25 Nov 2019 15:28:45 +0800
[   20.205000] MuC: slow heap begin=0x802a5a00 end=0x80422a00
[   20.210000] MuC: fast heap begin=0x98030800 end=0x98037000
[   20.215000] MuC: stack start=0x9803ef80 sp=0x9803f6d4
[   20.220000] MuC: calstate is 3 (prod), dcache on
[   20.225000] MuC: RFIC version 1 rev 0
[   20.225000] MuC: bb_init: FEM 0x7 bw_mode 0 chan 0 11b 0 11a 1
[   20.230000] MuC: set max/nrm gain(0x27) done.
[   20.235000] MuC: set cca threshold!
[   20.240000] MuC: rf_optimizing_rf_register_map, set rf to 0x75
[   20.245000] MuC: os_uc, after bb_rf_complete_attach.
[   20.250000] MuC: WMAC0: hal fd start=0xe5040300 count=48 size=108 end=0xe5041740
[   20.255000] MuC: WMAC1: hal fd start=0xe5140d50 count=8 size=84 end=0xe5140ff0
[   20.260000] MuC: freq 1 proj 1
[   20.265000] MuC: dynamic one-bit autocorrelation enabled
[   20.270000] MuC: QMAT SRAM base 0x98070000
[   20.275000] MuC: enable IRQs
[   20.290000] MuC: AuC enabled 0xe5101d24/0x60053840 il 0xe51012dc/0xe51012e0 stats 0x60051180/0x600535800x6006d93c
[   20.295000] MuC: Update MU debug flag from 0x00000000 to 0x20000000
[   20.300000] AuC: Update mu flag : 0x20000000. Max delay = 0, atf MU-vopt flag 0
[   20.305000] QDRV: hardware is 4x4 11ac FO RGMII DBDC QV860
[   20.310000] MuC boot succeeded 0.170 seconds
start-vap repeater
[   21.740000] load_module: 'wlan_scan_ap' using DRAM (offset:0x8d5f0000, size:0x3ce8)
[   21.885000] load_module: 'wlan_scan_sta' using DRAM (offset:0x8d6f4000, size:0x3804)
[   21.965000] QTM daemon registered
[   22.110000] qdrv_wlan_80211_updateslot: vap is NULL
[   22.115000] qvsp_nl_node_init: QVSP not initialized
Jan  1 00:00:22 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:[   22.150000] VAP create succeeded 0.030 seconds
00:22 qevt_server: Dot11Msg:Interface status change FALSE
[   23.210000] MuC: calibration ver 0x801
Jan  1 00:00:23 iwevent: 00:00:23.407326   wifi0    Custom driver event:Dot11Msg: Channel Changed to 40 (reason 4)


bss_tm set to 1
neigh_repo reset to 0
Interface doesn't accept private ioctl...
neigh_repo (8BE0): Operation not supported
radar in 80MHZ mode
Setting mode to 11ac80
Jan  1 00:00:25 local_init_tx_power_table[1562]: loading power table from /etc/power_tables/tx_power_QSR1000_us.txt

set_region: Setting regulatory region dev_name=wifi0 region=us mode=sta repeater=1
Jan  1 00:00:25 local_init_tx_power_table[1599]: loading power table from /etc/power_tables/tx_power_QSR1000_us.txt

[   25.600000] channel 116 is added into non-primary channel list
Jan  1 00:00:25 [   25.610000] channel 120 is added into non-primary channel list
local_regulatory_set_chan_list[1[   25.615000] channel 124 is added into non-primary channel list
599]: Set channel 116 as inactiv[   25.620000] channel 128 is added into non-primary channel list
e primary channe[   25.625000] Warning: all the sub channels are not in primary channel list!
l

Jan  1 00:00:25 local_regulatory_set_chan_[   25.635000] channel 140 is added into non-primary channel list
list[1599]: Set channel 120 as i[   25.640000] channel 144 is added into non-primary channel list
nactive primary channel

Jan  1 00:00:25 local_regulatory_set_chan_list[1599]: Set channel 124 as inactive primary channel

Jan  1 00:00:25 local_regulatory_set_chan_list[1599]: Set channel 128 as inactive primary chan[   25.660000] DFS_s_radio: parameters updated, region: us
nel

Jan  1 0[   25.665000] MuC: macfw: radar_start.........
0:00:25 local_re[   25.670000] MuC: radar_start, region us = 1
gulatory_set_chan_list[1599]: Set channel 140 as inactive primary channel

Jan  1 00:00:25 local_regulatory_set_chan_list[1599]: Set channel 144 as inactive primary channel

radar start with regulatory us
dfs_s_radio 0 dfs 0 non-dfs 0 scan 0 auto-channel  channel 36
Jan  1 00:00:27 Set Channel[1655]: freq 36, wrq.u.freq.e 0, wrq.u.freq.m 36

Jan  1 00:00:27 iwevent: 00:00:27.360073   wifi0    Set Frequency=5.18 GHz (Channel 36)


[   27.370000] device wifi0 entered promiscuous mode
Jan  1 00:00:27 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:27 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:27 qevt_server: Dot11Msg:Interface status change FALSE
[   27.590000] Enabling SSDP flooding
[   27.880000] MuC: #RX data path optimal flag 0
[   27.885000] MuC: rx_post_init: free 0 rxq 9 9 394 descr 0x9800f000/6592 cache 0x9802aba0/13184
[   27.890000] MuC: auto cs is enabled
[   27.925000] WPS: push button GPIO pin 6
[   27.925000] WPS: monitored using polling
[   27.930000] WPS: active logic is low
[   27.940000] br0: port 3(wifi0) entering forwarding state
[   27.945000] br0: port 3(wifi0) entering forwarding state
Jan  1 00:00:28 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:28 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:28 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:29 iwevent: 00:00:29.527197   wifi0    Set Mode:Managed


Jan  1 00:00:29 iwevent: 00:00:29.536087   wifi0    Set ESSID:"g.isQ.J.)......F|.T.....vZ.c3..."


Jan  1 00:00:29 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:29 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:29 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:29 iwevent: 00:00:29.658687   wifi0    Set ESSID:"7531_5G---"


Beamforming enabled
Jan  1 00:00:30 iwevent: 00:00:30.616493   wifi0    Custom driver event:SCS: stats task is started


Jan  1 00:00:30 iwevent: 00:00:30.716516   wifi0    Set ESSID:"7531_5G---"


[   30.725000] Enabling SCS
Jan  1 00:00:30 iwevent: 00:00:30.956513   wifi0    Custom driver event:SCS: channel sampling started - interval is 5 seconds


SCS enabled
[   30.955000] MuC: qtn_mu_ndpa_setup: bw_cap 2 done
Jan  1 00:00:31 [   30.980000] VAP create succeeded 0.020 seconds
qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:31 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:31 Set Channel[1864]: freq 36, wrq.u.freq.e 0, wrq.u.freq.m 36

Jan  1 00:00:31 iwevent: 00:00:31.291690   wifi0    Custom driver event:Dot11Msg: Channel Changed to 36 (reason 3)


Jan  1 00:00:31 iwevent: 00:00:31.292670   wifi0    Set Frequency=5.18 GHz (Channel 36)


Jan  1 00:00:31 local_init_tx_power_table[1865]: loading power table from /etc/power_tables/tx_power_QSR1000_us.txt

Jan  1 00:00:31 local_regulatory_set_chan_list[1865]: Set channel 116 as inactive primary channel

Jan  1 00:00:31 local_regulatory_set_chan_list[1865]: Set channel 120 as inactive primary channel

Jan  1 00:00:31 local_regulatory_set_chan_list[1865]: Set channel 124 as inactive primary channel

Jan  1 00:00:31 local_regulatory_set_chan_list[1865]: Set channel 128 as inactive primary channel

Jan  1 00:00:31 local_regulatory_set_chan_list[1865]: Set channel 140 as inactive primary channel

Jan  1 00:00:31 local_regulatory_set_chan_list[1865]: Set channel 144 as inactive primary channel

radar start with regulatory us
Jan  1 00:00:31 802.11d Set country code[1865]: country code set to us
Jan  1 00:00:31 iwevent: 00:00:31.906668   wifi0    Set ESSID:"7531_5G---"


Jan  1 00:00:31 iwevent: 00:00:31.907646   wifi0    Custom driver event:SCAN ABORT


Configuration file: /mnt/jffs2/hostapd.conf
Line 2: DEPRECATED: 'dump_file' configuration variable is not used anymore
[   33.070000] device wifi1 entered promiscuous mode
Jan  1 00:00:33 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:33 qevt_server: Dot11Msg:Interface status change FALSE
madwifi_sta_deauth: Interface not up.
madwifi_sta_deauth: Interface not up.
Jan  1 00:00:33 qevt_server: Dot11Msg:Interface status change FALSE
Using interface wifi1 with hwaddr A6:6F:BB:AC:35:88 and ssid "7531_5G---"
Jan  1 00:00:33 iwevent: 00:00:33.611983   wifi1    Set ESSID:"7531_5G---"


Jan  1 00:00:33 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:33 qevt_serve[   33.485000] VAP create succeeded 0.020 seconds
r: Dot11Msg:Interface status change FALSE
[   33.515000] device wifi2 entered promiscuous mode
Jan  1 00:00:33 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:33 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:33 qevt_server: Dot11Msg:Interface status change FALSE
madwifi_sta_deauth: Interface not up.
madwifi_sta_deauth: Interface not up.
Using interface wifi2 with hwaddr AA:6F:BB:AC:35:88 and ssid "Wizelink_Guest"
Jan  1 00:00:34 iwevent: 00:00:34.099946   wifi2    Set ESSID:"Wizelink_Guest"


Jan  1 00:00:34 qevt_server: Dot[   34.045000] br0: port 4(wifi1) entering forwarding state
11Msg:Interface [   34.050000] br0: port 4(wifi1) entering forwarding state
status change TRUE
Jan  1 00:00:34 qevt_server: Dot11Msg:Interface status change TRUE
[   34.065000] br0: port 4(wifi1) entering forwarding state
Jan  1 00:00:34 qevt_server: Dot11Msg:Interface status change TRUE
[   34.185000] br0: port 5(wifi2) entering forwarding state
[   34.190000] br0: port 5(wifi2) entering forwarding state
[   34.205000] br0: port 5(wifi2) entering forwarding state
wifi1: interface state UNINITIALIZED->ENABLED
Jan  1 00:00:34 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:34 qevt_server: Dot11Msg:Interface status change FALSE
wifi1: AP-ENABLED
Jan  1 00:00:34 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:34 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:34 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:34 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:34 qevt_server: Dot11Msg:Interface status change FALSE
[   34.390000] BRIDGE WLAN report flood-forwarding enablednge FALSE

Jan  1 00:00:34 qevt_server: Dot11Msg:Interface status change FALSE
[   35.180000] FWT: [18:bb:26:6d:fe:9b] add entry, port:emac0 node:0 index:950 4addr:0 entries:5
complete
sh: -le: argument expected
Repeater max level is invalid, set to default 2
complete
complete
Jan  1 00:00:35 qevt_server: Dot[   35.580000] br0: port 4(wifi1) entering forwarding state
11Msg:Interface [   35.585000] br0: port 4(wifi1) entering forwarding state
status change TRUE
Jan  1 00:00:35 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:35 qevt_server: Dot11Msg:Interface status change TRUE
complete
complete
Starting qrpe daemon...
qtna-rpe(9.0.0-f34af82) started
/scripts/cmdloop starting /usr/sbin/csmd, at 00:00:36 up 0 min, load average: 0.72, 0.18, 0.06
[csmd]: (1.3.10-enhance-v1-348cdb6-1962215-c903c7e) started(0x2a178)
0000000036 [Info..] [QSPD] (spdia_init          :0438) loaded Q-SPDIA lib
SONiQ-sl.qtn(3.3.10-enhance-v1-1962215) loaded
0000000036 [Info..] [CSM ] (csm_create_radio_db :0908) Create Radio database with max size = 0
0000000036 [Info..] [CSM ] (csm_create_bss_db   :0874) Create BSS database with max size = 0
0000000036 [Info..] [CSM ] (csm_create_station_d:0800) Create station database with max size = 1024
Pause connecting, will resume after backhaul_manager determine the mode
Selected interface 'wifi0'
OK
Selected interface 'wifi0'
OK
/scripts/cmdloop starting /usr/sbin/backhaul_diagnose, at 00:00:36 up 0 min, load average: 0.72, 0.18, 0.06
/scripts/cmdloop starting /usr/sbin/backhaul_manager, at 00:00:36 up 0 min, load average: 0.72, 0.18, 0.06
[   36.495000] FWT: [d8:fe:e3:a4:d9:b4] add entry, port:emac0 node:0 index:918 4addr:0 entries:6
[backhaul_manager NOTICE L:1157 T:36] set backhaul from unknown to ethernet
No core dump generated
dnsmasq: started, version 2.22 cachesize 150
dnsmasq: cleared cache
monitor reset button
Stopping DHCP client
[   38.170000] wifi0: no IPv6 routers present
DHCP client enabled
[backhaul_manager NOTICE L:1113 T:38] set mode from undetermined to booster
[   38.680000] Build name:            v37.4.0.226
[   38.685000] Build revision:        99177
[   38.690000] Build type:            SDK
[   38.690000] Build timestamp:       1564675932
[   38.695000] Platform ID:           465
[   38.700000] Hardware ID:           QV860
[   38.705000] Hardware revision:     bbic4_rev_a2
[   38.710000] Band:                  5GHz
[   38.715000] Kernel version:        2.6.35
[   38.715000] Calibration version:   disabled
[   38.720000] DC/IQ cal version:     V8.1
[   38.725000] Power cal version:     V8.1
[   38.730000] MuC firmware:          qtn_driver.qtn_ruby_spartan.0.bin
[   38.735000] DSP firmware:          rdsp_driver.0.bin
[   38.740000] AuC firmware:          auc_driver.default.0.bin
[   38.745000] MAC address 0:         ac:6f:bb:ac:35:88
[   38.750000] MAC address 1:         00:00:00:00:00:00
[   38.755000] Recommended U-Boot:    SEv1.2v37.4.0.198
Carrier ID 0, uboot update flag 0
complete
[   39.765000] QDRV: src ip addr 192.168.0.104
[   39.920000] MuC: Update MU debug flag from 0x20000000 to 0x20000000
[   39.920000] MuC: MU disabled
[   39.920000] AuC: Update mu flag : 0x20000000. Max delay = 0, atf MU-vopt flag 0
[   39.965000] MuC: Update MU debug flag from 0x20000000 to 0x20000000
[   39.965000] AuC: Update mu flag : 0x20000000. Max delay = 0, atf MU-vopt flag 0
PTA request polarity set to 0
PTA grant polarity set to 0
[   40.820000] Netdebug is disabled
PTA disabled
[   40.930000] Ratedebug is disabled
Jan  1 00:00:42 iwevent: 00:00:42.841538   wifi0    Scan request completed


[   46.430000] wifi1: no IPv6 routers present
[   46.680000] Disabling SCS
Jan  1 00:00:46 iwevent: 00:00:46.919305   wifi0    Custom driver event:SCS: channel sampling disabled


Jan  1 00:00:46 iwevent: 00:00:46.967332   wifi0    Custom driver event:SCS: stats task is stopped


Jan  1 00:00:47 Contact Security Daemon[2445]: SET tdls_disabled 1: got reply OK

[   47.145000] device wifi2 left promiscuous mode
[   47.145000] br0: Jan  1 00:00:47 qevt_server: Dot11Msg:Interface pstatus change FAoLSE
Jan  1 00:00:47 qevt_server: Dot11Msg:Interface status change FALSE
rt 5(wifi2) entering disabled state
[   47.165000] qdrv_tx_done_flush_vap: 0 bufs retrieved in 0 msecs
[   47.430000] VAP delete succeeded 0.250 seconds
[   47.560000] br0: port 4(wifi1) entering forwarding state
Jan  1 00:00:47 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:47 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:47 qevt_server: Dot11Msg:Interface status change FALSE
[   49.730000] qdrv_tx_done_flush_vap: 0 bufs retrieved in 0 msecs
[   49.730000] device wifi1 left promiscuous mode
[   49.730000] br0: port 4(wifi1) entering disabled state
[   49.990000] VAP delete succeeded 0.250 seconds
Jan  1 00:00:50 qevt_server: Dot11Msg:Interface status change TRUE
[   50.525000] br0: portJan  1 00:00:50 iwevent: [trunca ted] ]..X.^.....3..T...tA!=.."
(

wifi0) entering forwarding state
Jan  1 00:00:50 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:50 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:00:50 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:50 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:00:51 qevt_server: Dot11Msg:Interface status change FALSE
[   55.280000] qdrv_tx_done_flush_vap: 0 bufs retrieved in 0 msecs
[   55.285000] device wifi0 left promiscuous mode
[   55.285000] br0: port 3(wifi0) entering disabled state
[   55.305000] VAP delete succeeded 0.010 seconds
[   58.380000] load_module: 'wlan_scan_ap' using DRAM (offset:0x8d5f0000, size:0x3ce8)
[   58.605000] qdrv_wlan_80211_updateslot: vap is NULL
[   58.605000] qvsp_nl_Jan  1 00:00:58 qevt_server: Dotn11Msg:Interface ostatus change FAdLSE
Jan  1 00:e00:58 qevt_server: Dot11Msg:Interface status change FALSE
_init: QVSP not initialized
[   58.605000] MuC: qtn_mu_ndpa_setup: bw_cap 2 done
[   58.625000] VAP create succeeded 0.010 seconds
Jan  1 00:00:59 local_init_tx_power_table[2756]: loading power table from /etc/power_tables/tx_power_QSR1000_us.txt

Jan  1 00:00:59 local_regulatory_set_chan_list[2756]: Set channel 116 as inactive primary channel

Jan  1 00:00:59 local_regulatory_set_chan_list[2756]: Set channel 120 as inactive primary channel

Jan  1 00:00:59 local_regulatory_set_chan_list[2756]: Set channel 124 as inactive primary channel

Jan  1 00:00:59 local_regulatory_set_chan_list[2756]: Set channel 128 as inactive primary channel

Jan  1 00:00:59 local_regulatory_set_chan_list[2756]: Set channel 140 as inactive primary channel

Jan  1 00:00:59 local_regulatory_set_chan_list[2756]: Set channel 144 as inactive primary channel

Jan  1 00:00:59 802.11d Set country code[2756]: country code set to us
Jan  1 00:01:01 local_init_tx_power_table[2862]: loading power table from /etc/power_tables/tx_power_QSR1000_us.txt

Jan  1 00:01:01 local_init_tx_power_table[2886]: loading power table from /etc/power_tables/tx_power_QSR1000_us.txt

Jan  1 00:01:01 local_regulatory_set_chan_list[2886]: Set channel 116 as inactive primary channel

Jan  1 00:01:01 local_regulatory_set_chan_list[2886]: Set channel 120 as inactive primary channel

Jan  1 00:01:01 local_regulatory_set_chan_list[2886]: Set channel 124 as inactive primary channel

Jan  1 00:01:01 local_regulatory_set_chan_list[2886]: Set channel 128 as inactive primary channel

Jan  1 00:01:01 local_regulatory_set_chan_list[2886]: Set channel 140 as inactive primary channel

Jan  1 00:01:01 local_regulatory_set_chan_list[2886]: Set channel 144 as inactive primary channel

Jan  1 00:01:01 802.11d Set country code[2886]: country code set to us
Jan  1 00:01:02 Set Channel[2916]: freq 0, wrq.u.freq.e 0, wrq.u.freq.m 0

Jan  1 00:01:02 iwevent: 00:01:02.718102   wifi0    Set Channel=0


[   62.665000] device wifi0 entered Jan  1 00:01:02 qevt_server: Dot11Msg:Interface pstatus change FArLSE
Jan  1 00:o01:02 qevt_servemr: Dot11Msg:Interface status change FALSE
uan  1 00:01:02 qevti_server: Dot11Mssg:Interface statcus change FALSE
ous mode
[   62.800000] Enabling SSDP flooding
Jan  1 00:01:03 iwevent: 00:01:03.641629   wifi0    Custom driver event:SCS: stats task is started


[   63.545000] Enabling SCS
Jan  1 00:01:03 iwevent: 00:01:03.783642   wifi0    Custom driver event:SCS: channel sampling started - interval is 5 seconds


[   64.620000] BRIDGE WLAN report flood-forwarding enabled
Jan  1 00:01:06 iwevent: 00:01:06.303504   wifi0    Set ESSID:"7531_5G---"


Jan  1 00:01:06 qevt_server: Dot11Msg:Interface status change FALSE
[   66.165000] VAP create succeeded 0.020 secoJan  1 00:01:06 nqevt_server: Dotd11Msg:Interface sstatus change FA
LSE
[   66.195000] device Jan  1 00:01:06 qevt_server: Dot11Msg:Interface wstatus change FAiLSE
Jan  1 00:f01:06 qevt_serveir: Dot11Msg:Interface status change FALSE
nan  1 00:01:06 qevt1_server: Dot11Ms g:Interface stateus change FALSE
tered promiscuous mode
Jan  1 00:01:06 iwevent: 00:01:06.800351   wifi1    Set ESSID:"Wizelink_Guest"


[   66.735000] WPS: push button GPIO pin 6
[  Jan  1 00:01:06 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:01:06 qevt_server: Dot11Msg:Inter face status chan6ge TRUE
6.735000] WPS: monitored using polling
[   66.735000] WPS: active logic is low
[   66.740000] br0: port 3(wifi0) entering forwarding state
[   66.740000] br0: port 3(wifi0) entering forwarding state
[   66.755000] br0: port 3(wifi0) entering forwarding state
Jan  1 00:01:07 qevt_server: Dot11Msg:Interface status change TRUE
[   66.900000] br0: port 4(wifi1) entering forwarding state
[   66.900000] br0: port 4(wifi1) entering forwarding state
Jan  1 00:01:07 qevt_server: Dot11Msg:Interface status change FA[LSE
Jan  1 00: 01:07 qevt_serve r: Dot11Msg:Inte rface status change FALSE
66.960000] br0: port 4(wifi1) entering forwarding state
Jan  1 00:01:07 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:01:07 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:01:07 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:01:07 qevt_server: Dot11Msg:Interface status change TRUE
Jan  1 00:01:07 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:01:07 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:01:07 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:01:07 dfs_daemon[2376]: scs_enabled = 1
Jan  1 00:01:07 dfs_daemon[2376]: debug = 3
'monitor_temperature' is not enabled/set
Jan  1 00:01:07 dfs_daemon[2376]: syslog = 1
Jan  1 00:01:07 dfs_daemon[2376]: console_print = 0
Jan  1 00:01:07 dfs_daemon[2376]: region = us
Jan  1 00:01:07 dfs_daemon[2376]: config_file = /etc/dfs_daemon.conf
Jan  1 00:01:07 dfs_daemon[2376]: interface = wifi0
Jan  1 00:01:07 dfs_daemon[2376]: interval = 900
Jan  1 00:01:07 dfs_daemon[2376]: second_interval = 60
Jan  1 00:01:07 dfs_daemon[2376]: delay = 900
Jan  1 00:01:07 dfs_daemon[2376]: start_hour = 3
Jan  1 00:01:07 dfs_daemon[2376]: end_hour = 4
Jan  1 00:01:07 dfs_daemon[2376]: scs_rxtx_threshold = 100
Jan  1 00:01:07 dfs_daemon[2376]: scs_tx_threshold = 50
Jan  1 00:01:07 dfs_daemon[2376]: target_count = 2
Jan  1 00:01:07 dfs_daemon[2376]: curr_count = 0
Jan  1 00:01:07 dfs_daemon[2376]: time_offset = 0
Jan  1 00:01:07 dfs_daemon[2376]: score_threshold = 0
Jan  1 00:01:07 dfs_daemon[2376]: DFS Daemon v1.0 started, interval set to 900 seconds
Jan  1 00:01:07 dfs_daemon[2376]: scs_enabled = 1
Jan  1 00:01:07 dfs_daemon[2376]: qcsapi[wifi_get_channel] failed, error code = -34
Jan  1 00:01:07 dfs_daemon[2376]: sleep for 900 seconds
Product name: WizeLink
[ Jan  1 00:01:08  qevt_server: Dot 11Msg:Interface 6status change TR8UE
Jan  1 00:0.1:08 qevt_server4: Dot11Msg:Interface status change TRUE
25Jan  1 00:01:08 qevt_server: Dot011Msg:Interface 0status change TRUE
Jan  1 00:01:08 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:01:08 qevt_server: Dot11Msg:Interface status change FALSE
Jan  1 00:01:08 qevt_server: Do0t11Msg:Interface] status change F ALSE
br0: port 4(wifi1) entering forwarding state
[   68.425000] br0: port 4(wifi1) entering forwarding state
[   68.440000] br0: port 4(wifi1) entering forwarding state
NTP client enabled
MAUI service started
Dec 31 16:01:10 iwevent: 0:01:10.249511   wifi0    00:01:10.249511   wifi0    Set ESSID:"7531_5G---"
Set ESSID:"7531_5G---"


/scripts/cmdloop starting /sbin/qharvestd, at 16:01:10 up 1 min, load average: 1.36, 0.41, 0.14
Dec 31 16:01:10 qharvestd[3420]: qharvestd[notice]: qharvestd v1.34 started
Dec 31 16:01:11 iwevent: 00:01:11.433119   wifi1    00:01:11.433119   wifi1    Set ESSID:"Wizelink_Guest"
Set ESSID:"Wizelink_Guest"


Starting httpd
Dec 31 16:01:12 qharvestd[3420]: qharvestd[notice]: Pktlogger support detected
Starting cwmpd
[ Dec 31 16:01:12 qevt_server: Dot11Msg:Interface  status change TR UE
Dec 31 16:01:12 qevt_server: Dot11Msg:Interface status change TRUE
Dec 31 16:01:12 qevt_server: Dot11Msg:Interface status change TRUE
72.560000] br0: port 3(wifi0) entering forwarding state
[   72.560000] br0: port 3(wifi0) entering forwarding state
[   74.365000] load_module: 'qwe_rpe' using DRAM (offset:0x855b8000, size:0x5c66)
[   74.395000] Start RPE for QWE radio
[ Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
Dec 31 16:01:15 qevt_server: Dot11Msg:Interface status change FALSE
  74.560000] load_module: 'rtl8192cd' using DRAM (offset:0x85a00000, size:0x11bc12)
[   74.745000] Realtek WLAN driver - version 3.6 (2017-07-07-v17)
[   74.745000] Adaptivity function - version 9.3.4
[   74.750000] Enabling MEM
[   74.750000] MACHAL_version_init
[   74.760000] tqe_descs_alloc: 4096 tqe_rx_descriptors at kern uncached 0x532e0000 bus 0x8d6c0000
[   74.775000] tqe_pcie_netdev_init: tqe_sem_en 0
[   74.780000] wlan0: PCI cache line size set incorrectly (0 bytes) by BIOS/FW,
[   74.780000] The device 818b has PCI Express capability
[   74.780000] RC cap:256, dev cap:128
[   74.780000] Setting MPS to 128
[   74.780000] not two slots, enable_efuse=1
[   74.780000] page_ptr=7e282000, size=507248, ring_dma_addr:8e282000, alloc_dma_buf:7e280000, ring_virt_addr:7e282000
[   74.805000] not two slots, enable_efuse=1
[   74.815000] not two slots, enable_efuse=1
[   74.830000] not two slots, enable_efuse=1
[   74.850000] not two slots, enable_efuse=1
[   74.870000] not two slots, enable_efuse=1
tti_led_quality_start
[   76.105000]  unlock_uboot_env: unlock successfully
Dec 31 16:01:16 Contact Security Daemon[3910]: WPS_UPNP_ENABLE wifi0 0: got reply
scid is not started
starting crond...
/scripts/cmdloop starting /usr/sbin/crond, at 16:01:19 up 1 min, load average: 1.57, 0.47, 0.16
Dec 31 16:01:19 crond[4082]: crond (busybox 1.10.3) started, log level 8

starting pid 4085, tty '/dev/console': '/bin/sh -l'


BusyBox v1.10.3 (2020-01-14 10:42:01 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
quantenna # [   79.795000] RADAR: CAC started for channel  52 (5260 MHz)
perform wlanup directly
<<<<<<<< begain wlanup
[   82.950000] wifi0: no IPv6 routers present
[   88.960000] WlanSupportAbility = 0x1
[   88.970000] PrepareRXBD88XX(165):size=507248, ring_dma_addr:8e282000, alloc_dma_buf:7e280000, ring_virt_addr:7e282000
[   88.970000] QNum: 0x0, RXBDHead: 0x7e282000, tmp_dma_ring_addr:0x8e282000
[   88.975000] head:7e282000, ring_dma_addr:8e282000, size:1000
[   88.975000] ptxbd_head:7e283000, tmp_tx_dma_ring_addr:8e283000
[   88.975000] ptx_desc_head:7e2b3400, tmp_tx_dma_ring_addr2:8e2b3400, size: 20, 30
[   88.975000] ptxbd_bcn_head:7e2fba00, tmp_tx_dma_ring_addr3:8e2fba00,
[   88.975000] ptxdesc_bcn_head:7e2fbc80, tmp_tx_dma_ring_addr4:8e2fbc80,
[   88.975000] PrepareTXBD88XX(550), q_num:0, TXBD_RWPtr_Reg:0x3b0, TXBD_Reg:0x310, ptxbd:7e283000 8e283000, ptx_desc:7e2b3400 8e2b3400
[   88.975000] PrepareTXBD88XX(550), q_num:1, TXBD_RWPtr_Reg:0x3ac, TXBD_Reg:0x330, ptxbd:7e28b000 8e28b000, ptx_desc:7e2bf400 8e2bf400
[   88.975000] PrepareTXBD88XX(550), q_num:2, TXBD_RWPtr_Reg:0x3a8, TXBD_Reg:0x328, ptxbd:7e293000 8e293000, ptx_desc:7e2cb400 8e2cb400
[   88.975000] PrepareTXBD88XX(550), q_num:3, TXBD_RWPtr_Reg:0x3a4, TXBD_Reg:0x320, ptxbd:7e29b000 8e29b000, ptx_desc:7e2d7400 8e2d7400
[   88.975000] PrepareTXBD88XX(550), q_num:4, TXBD_RWPtr_Reg:0x3a0, TXBD_Reg:0x318, ptxbd:7e2a3000 8e2a3000, ptx_desc:7e2e3400 8e2e3400
[   88.975000] PrepareTXBD88XX(550), q_num:5, TXBD_RWPtr_Reg:0x3b8, TXBD_Reg:0x340, ptxbd:7e2ab000 8e2ab000, ptx_desc:7e2ef400 8e2ef400
[   88.975000] PrepareTXBD88XX(550), q_num:6, TXBD_RWPtr_Reg:0x3bc, TXBD_Reg:0x348, ptxbd:7e2ac000 8e2ac000, ptx_desc:7e2f0c00 8e2f0c00
[   88.975000] PrepareTXBD88XX(550), q_num:7, TXBD_RWPtr_Reg:0x3c0, TXBD_Reg:0x350, ptxbd:7e2ad000 8e2ad000, ptx_desc:7e2f2400 8e2f2400
[   88.975000] PrepareTXBD88XX(550), q_num:8, TXBD_RWPtr_Reg:0x3c4, TXBD_Reg:0x358, ptxbd:7e2ae000 8e2ae000, ptx_desc:7e2f3c00 8e2f3c00
[   88.975000] PrepareTXBD88XX(550), q_num:9, TXBD_RWPtr_Reg:0x3c8, TXBD_Reg:0x360, ptxbd:7e2af000 8e2af000, ptx_desc:7e2f5400 8e2f5400
[   88.975000] PrepareTXBD88XX(550), q_num:10, TXBD_RWPtr_Reg:0x3cc, TXBD_Reg:0x368, ptxbd:7e2b0000 8e2b0000, ptx_desc:7e2f6c00 8e2f6c00
[   88.975000] PrepareTXBD88XX(550), q_num:11, TXBD_RWPtr_Reg:0x3d0, TXBD_Reg:0x370, ptxbd:7e2b1000 8e2b1000, ptx_desc:7e2f8400 8e2f8400
[   88.975000] PrepareTXBD88XX(550), q_num:12, TXBD_RWPtr_Reg:0x3d4, TXBD_Reg:0x378, ptxbd:7e2b2000 8e2b2000, ptx_desc:7e2f9c00 8e2f9c00
[   88.975000] PrepareTXBD88XX(550), q_num:13, TXBD_RWPtr_Reg:0x0, TXBD_Reg:0x0, ptxbd:7e2b3000 8e2b3000, ptx_desc:7e2fb400 8e2fb400
[   88.975000] PrepareTXBD88XX(550), q_num:14, TXBD_RWPtr_Reg:0x0, TXBD_Reg:0x308, ptxbd:7e2fba00 8e2fba00, ptx_desc:7e2fbc80 8e2fbc80
[   88.975000] ptxbd_bcn[0]: 0x7e2fba00, Dword0: 0x28, Dword1: 0x8e2fbc80
[   88.975000] ptxbd_bcn[1]: 0x7e2fba80, Dword0: 0x28, Dword1: 0x8e2fbcb0
[   88.975000] ptxbd_bcn[2]: 0x7e2fbb00, Dword0: 0x28, Dword1: 0x8e2fbce0
[   88.975000] ptxbd_bcn[3]: 0x7e2fbb80, Dword0: 0x28, Dword1: 0x8e2fbd10
[   88.975000] ptxbd_bcn[4]: 0x7e2fbc00, Dword0: 0x28, Dword1: 0x8e2fbd40
[   89.285000] [QWERPE] [Info ] (qwerpe_register_:2096)qwerpe bss [ac:6f:bb:ac:35:89] for wlan0 is created
[   89.285000] [ODM_software_init][12372] BoardType = 0x0 rfe_type=0
[   89.285000] eric-8822 [ODM_software_init][12581]
[   89.285000] clock 40MHz
[   89.285000]
[   89.285000]
[   89.285000] ************* Initialize MAC/PHY parameter *************
[   89.290000] [MAC_REG_8192Emp]
[   89.290000] rtl8192e version = 58
[   89.290000] [PHY_REG_8192Emp]
[   89.290000] RTL8192E_MAC_PHY_Parameter_v021_MP_20130718
[   89.290000] [PHY_REG_PG_8192Emp]
[   89.290000] RL6286_MAC_PHY_Parameter_v024_20130125
[   89.290000] [AGC_TAB_8192Emp]
[   89.290000] RTL8192E_MAC_PHY_Parameter_v016_MP_20130705
[   89.295000] RadioA_8192Emp
[   89.295000] RTL8192E_MAC_PHY_Parameter_v023_MP_20130910
[   89.635000] [RadioB_8192Emp]
[   89.635000] RTL8192E_MAC_PHY_Parameter_v023_MP_20130910
[   89.965000] [PHY_ConfigTXPwrTrackingWithParaFile 4359]
[   89.965000] [PHY_ConfigTXPwrTrackingWithParaFile 4429] read_bytes=2283
[   89.965000] [TxPowerTrack_AP]
[   92.315000] eth1_0 emac_lib_mdio_read: warn: system is overloaded : spend more ~500ms!
[   92.315000] HLINK MSG: waiting for MuC dequeue over 370 jiffies, re-trigger interrupt to muc
[   92.365000] device wlan0 entered promiscuous mode
[   92.365000] br0: port 5(wlan0) entering forwarding state
[   92.365000] br0: port 5(wlan0) entering forwarding state
[   93.115000] eth1_0 emac_lib_rxstatistics_counter: warn: system is overloaded : spend more ~10ms!
[   93.170000] eth1_0 emac_lib_txstatistics_counter: warn: system is overloaded : spend more ~10ms!
[   93.185000] eth1_0 emac_lib_txstatistics_counter: warn: system is overloaded : spend more ~10ms!
[   93.260000] eth1_0 emac_lib_txstatistics_counter: warn: system is overloaded : spend more ~10ms!
[   93.295000] eth1_0 emac_lib_rxstatistics_counter: warn: system is overloaded : spend more ~10ms!
[   93.330000] eth1_0 emac_lib_txstatistics_counter: warn: system is overloaded : spend more ~10ms!
[   93.380000] eth1_0 emac_lib_rxstatistics_counter: warn: system is overloaded : spend more ~10ms!
[   93.390000] eth1_0 emac_lib_txstatistics_counter: warn: system is overloaded : spend more ~10ms!
[   93.400000] eth1_0 emac_lib_rxstatistics_counter: warn: system is overloaded : spend more ~10ms!
>>>>>>>> finish wlanup
[   99.825000] emac_lib_poll_wait: 3 callbacks suppressed
[   99.825000] eth1_0 emac_lib_txstatistics_counter: warn: system is overloaded : spend more ~10ms!
[   99.850000] eth1_0 emac_lib_txstatistics_counter: warn: system is overloaded : spend more ~10ms!
[   99.890000] eth1_0 emac_lib_rxstatistics_counter: warn: system is overloaded : spend more ~10ms!
[  100.000000] eth1_0 emac_lib_rxstatistics_counter: warn: system is overloaded : spend more ~10ms!
[  100.475000] [QWERPE] [Warn ] (rtl_get_intf_fat:0292)FAT is not measured yet, return dummy value 800
[  100.490000] FWT: [ac:9c:e4:5f:83:51] add entry, port:emac0 node:0 index:494 4addr:0 entries:7
[  102.350000] wlan0: no IPv6 routers present
[  110.440000] FWT: [01:00:5e:7f:03:16] add entry, port:emac0 node:0 index:275 4addr:0 entries:8
acl rules is not enbled in config file
[  149.920000] RADAR: CAC completed for channel  52 (5260 MHz)

quantenna #