starting wifi in imx8m

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

starting wifi in imx8m

1,014 Views
greeranjunk
Contributor III

hello. i am trying to setup the wifi on the imx8m eval board. i am using the instructions from the thread How to enable WIFI on i.MX 8M Mini EVK?  but with partial success

ifconfig wlan0

wlan0 Link encap:Ethernet HWaddr c2:a2:37:f4:2b:ab
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

iwconfig
eth0 no wireless extensions.

wlan0 no wireless extensions.

lo no wireless extensions.

iw wlan0 scan
BSS f6:af:e7:ee:93:2f(on wlan0)
TSF: 0 usec (0d, 00:00:00)
freq: 2412
beacon interval: 100 TUs
capability: ESS Privacy SpectrumMgmt ShortSlotTime RadioMeasure (0x1511)
signal: -29.00 dBm
last seen: 4 ms ago
SSID: Rang
Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
DS Parameter set: channel 1
Power constraint: 0 dB
TPC report: TX power: 16 dBm
ERP: <no flags>
Extended supported rates: 6.0 9.0 12.0 48.0
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
HT capabilities:
Capabilities: 0x2d
RX LDPC
HT20
SM Power Save disabled
RX HT20 SGI
No RX STBC
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 4 usec (0x05)
HT RX MCS rate indexes supported: 0-15
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 1
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 0
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
Extended capabilities:
* Extended Channel Switching
* Operating Mode Notification
WMM: * Parameter version 1
* u-APSD
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 use

but when i us the udhcpc -- its only sending discover \

and when i us the wpa_scan

wlan0     Link encap:Ethernet  HWaddr c2:a2:37:f4:2b:ab  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

what am i missing?

thanks

Ran

Tags (1)
0 Kudos
2 Replies

810 Views
igorpadykov
NXP Employee
NXP Employee

Hi ran

additional instructions were sent via mail and one can try with Demo Images from link

i.MX Software | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

810 Views
greeranjunk
Contributor III

hello

thanks to the quick response. i am still not able to start my wifi. i added my data to the wpa_passphase and then tried to discover the dhcp but with no success. when i run the wpa_cli  i get

<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<4>Failed to initiate sched scan
<3>CTRL-EVENT-NETWORK-NOT-FOUND

from wpa_cli status i get

Selected interface 'wlan0'
wpa_state=SCANNING
address=b2:24:63:b5:cf:c6
uuid=e6e25df3-d31b-5007-af44-215ba81b7184

but from the command iw wlan0 scan i can see my wifi-router

what am i missing ?

thanks

0 Kudos