[Android Q&A, Help & Troubleshooting] ahmed.zubair:
D/NetdConnector( 421): SND -> {22 softap fwreload wlan0 STA}
D/WifiCommon( 99): wifi_change_fw_path [STA]
D/WifiCommon( 99): Hal cmd: "hal load p2p"
D/Hald ( 104): ======Receive cmd======
D/Hald ( 104): cmd <load p2p>
D/Hald ( 104): Check NvRAM status.
D/Hald ( 104): NvRAM is READY!
D/Hald ( 104): Start load P2P driver.
D/vold ( 421): size2:0
E/Hald ( 104): SET_P2P_MODE enable[1], mode[0] Failed
E/Hald ( 104): No such device
D/WifiCommon( 99): Hal cmd response code: "200"
D/NetdConnector( 421): RCV <- {200 22 Softap operation succeeded}
D/NetdConnector( 421): RMV <- {200 22 Softap operation succeeded}
D/NetdConnector( 421): SND -> {23 interface getcfg wlan0}
D/vold ( 421): size2:0
W/CommandListener( 99): Failed to retrieve HW addr for wlan0 (No such device)
D/NetdConnector( 421): RCV <- {213 23 00:00:00:00:00:00 0.0.0.0 0 down}
D/NetdConnector( 421): RMV <- {213 23 00:00:00:00:00:00 0.0.0.0 0 down}
D/NetdConnector( 421): SND -> {24 interface setcfg wlan0 0.0.0.0 0 down}
D/CommandListener( 99): Setting iface cfg
D/vold ( 421): size2:0
D/NetdConnector( 421): RCV <- {400 24 Failed to set address (No such device)}
D/NetdConnector( 421): RMV <- {400 24 Failed to set address (No such device)}
E/WifiStateMachine( 421): Unable to change interface settings: java.lang.IllegalStateException: command '24 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 24 Failed to set address (No such device)'
D/WifiCommon( 421): Stop "p2p_supplicant"
D/WifiCommon( 421): [wlan0]wifi_close_supplicant_connection
D/WifiCommon( 421): wifi_start_supplicant [1]
D/WifiCommon( 421): Start "p2p_supplicant"
D/WifiStateMachine( 421): Supplicant start successful
D/dalvikvm( 421): create interp thread : stack size=32KB
D/dalvikvm( 421): create new thread
D/dalvikvm( 421): update thread list
D/dalvikvm( 421): threadid=79: interp stack at 0x52ffb000
D/dalvikvm( 421): threadid=79: created from interp
D/dalvikvm( 421): start new thread
D/StateMachine( 421): transitionTo: destState=SupplicantStartingState
D/StateMachine( 421): handleMessage: new destination call exit
D/StateMachine( 421): setupTempStateStackWithStatesToEnter: X mTempStateStackCount=1,curStateInfo: state=DefaultState,active=true,parent=null
D/StateMachine( 421): invokeExitMethods: DriverLoadedState
D/StateMachine( 421): moveTempStackToStateStack: i=0,j=1
D/StateMachine( 421): moveTempStackToStateStack: X mStateStackTop=1,startingIndex=1,Top=SupplicantStartingState
D/StateMachine( 421): invokeEnterMethods: SupplicantStartingState
D/WifiStateMachine( 421): SupplicantStartingState
D/StateMachine( 421): handleMessage: X
D/dalvikvm( 421): threadid=79: notify debugger
D/dalvikvm( 421): threadid=79 (WifiMonitor): calling run()
D/WifiCommon( 421): [wlan0]wifi_connect_to_supplicant
D/wpa_supplicant( 2329): wpa_supplicant v2.0-devel-4.1.1
D/wpa_supplicant( 2329): random: Added entropy from /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/wpa_supplicant( 2329): random: Trying to read entropy from /dev/random
D/wpa_supplicant( 2329): random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/wpa_supplicant( 2329): Initializing interface 'wlan0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 2329): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 2329): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 2329): ctrl_interface='/data/misc/wpa_supplicant'
D/wpa_supplicant( 2329): update_config=1
D/wpa_supplicant( 2329): manufacturer='MediaTek Inc.'
D/wpa_supplicant( 2329): device_name='Wireless Client'
D/wpa_supplicant( 2329): model_name='MTK Wireless Model'
D/wpa_supplicant( 2329): model_number='1.0'
D/wpa_supplicant( 2329): serial_number='2.0'
D/wpa_supplicant( 2329): os_version=01020300
D/wpa_supplicant( 2329): config_methods='display push_button keypad'
D/wpa_supplicant( 2329): Could not open file /sys/class/net/wlan0/phy80211/name: No such file or directory
I/wpa_supplicant( 2329): rfkill: Cannot open RFKILL control device
D/wpa_supplicant( 2329): nl80211: RFKILL status not available
D/wpa_supplicant( 2329): nl80211: Set mode ifindex 0 iftype 2 (STATION)
D/wpa_supplicant( 2329): nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
E/wpa_supplicant( 2329): nl80211: Could not configure driver to use managed mode
D/wpa_supplicant( 2329): netlink: Operstate: linkmode=0, operstate=6
E/wpa_supplicant( 2329): Could not read interface wlan0 flags: No such device
D/wpa_supplicant( 2329): nl80211: Set mode ifindex 0 iftype 2 (STATION)
D/wpa_supplicant( 2329): nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
E/wpa_supplicant( 2329): wlan0: Failed to initialize driver interface
D/wpa_supplicant( 2329): Failed to add interface wlan0
D/wpa_supplicant( 2329): [WAPI] wpa_supplicant_deinit_wapi <===
D/wpa_supplicant( 2329): wlan0: Cancelling scan request
D/wpa_supplicant( 2329): wlan0: Cancelling authentication timeout
D/wpa_supplicant( 2329): random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
I/logwrapper( 2327): /system/bin/wpa_supplicant terminated by exit(255)

I hav successfully ported a rom but a problem is here i am a noob and now my wifi isnt working . i hav uploaded logcat log. Any help.???:confused: