Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: wl12xx_sdio driver problems

$
0
0

Hi,

I startet to implement the gpio-irq and the "parameter structure".

The dts-file:

...
mmc1: esdhc@50008000 { /* ESDHC2 */
        /*cd-gpios = <&gpio3 25 0>;*/
        fsl,card-wired;
        status = "okay";
     };
...
wl_irq: gpio-switch@7 {
    compatible = "linux,gpio-switch";
    gpio = <&gpio3 25 0>;
    interrupt-parent = <&gpio3>;
    interrupts = <25 2>; /* also tried 8 */
    label = "WLan wl12xx IRQ";
};

...

and in the board-file:

#define WL12XX_WL_EN    IMX_GPIO_NR(3, 25)
static struct wl12xx_platform_data pikkerton_wl12xx_wlan_data __initdata = {
 .irq = -1,
};

static void pikkerton_wl12xx_set_platform_data(void)
{
    pikkerton_wl12xx_wlan_data.irq = IMX_GPIO_TO_IRQ(WL12XX_WL_EN);
    if (wl12xx_set_platform_data(&pikkerton_wl12xx_wlan_data))
        pr_err("Error setting wl12xx data\n");
}

If I now start the wlan the system hangs:

root@triton1:~# ifconfig wlan0 up scan list
wl12xx: firmware booted (Rev 6.3.5.0.98)

Now I tried to update my drivers to compat-wireless-3.6.8-1.

The output: (Please visit the site to view this file)

After updating the wl12xx driver posts several error messages:

Compat-wireless backport release: compat-wireless-v3.6.8-1
Backport based on linux-stable.git v3.6.8
compat.git: linux-stable.git
cfg80211: Calling CRDA to update world regulatory domain
wl12xx: disagrees about version of symbol ieee80211_connection_loss
wl12xx: Unknown symbol ieee80211_connection_loss (err -22)
wl12xx: disagrees about version of symbol ieee80211_sched_scan_stopped
wl12xx: Unknown symbol ieee80211_sched_scan_stopped (err -22)
wl12xx: disagrees about version of symbol ieee80211_chswitch_done
wl12xx: Unknown symbol ieee80211_chswitch_done (err -22)
wl12xx: disagrees about version of symbol cfg80211_testmode_reply
wl12xx: Unknown symbol cfg80211_testmode_reply (err -22)
wl12xx: disagrees about version of symbol ieee80211_free_hw
wl12xx: Unknown symbol ieee80211_free_hw (err -22)
wl12xx: disagrees about version of symbol ieee80211_probereq_get
wl12xx: Unknown symbol ieee80211_probereq_get (err -22)
wl12xx: disagrees about version of symbol ieee80211_ap_probereq_get
wl12xx: Unknown symbol ieee80211_ap_probereq_get (err -22)
wl12xx: disagrees about version of symbol ieee80211_alloc_hw
wl12xx: Unknown symbol ieee80211_alloc_hw (err -22)
wl12xx: disagrees about version of symbol ieee80211_nullfunc_get
wl12xx: Unknown symbol ieee80211_nullfunc_get (err -22)
wl12xx: disagrees about version of symbol ieee80211_pspoll_get
wl12xx: Unknown symbol ieee80211_pspoll_get (err -22)
wl12xx: disagrees about version of symbol ieee80211_register_hw
wl12xx: Unknown symbol ieee80211_register_hw (err -22)
wl12xx: disagrees about version of symbol ieee80211_restart_hw
wl12xx: Unknown symbol ieee80211_restart_hw (err -22)
wl12xx: disagrees about version of symbol ieee80211_get_hdrlen_from_skb
wl12xx: Unknown symbol ieee80211_get_hdrlen_from_skb (err -22)
wl12xx: disagrees about version of symbol ieee80211_stop_rx_ba_session
wl12xx: Unknown symbol ieee80211_stop_rx_ba_session (err -22)
wl12xx: disagrees about version of symbol ieee80211_wake_queue
wl12xx: Unknown symbol ieee80211_wake_queue (err -22)
wl12xx: disagrees about version of symbol ieee80211_find_sta
wl12xx: Unknown symbol ieee80211_find_sta (err -22)
wl12xx: disagrees about version of symbol ieee80211_queue_delayed_work
wl12xx: Unknown symbol ieee80211_queue_delayed_work (err -22)
wl12xx: disagrees about version of symbol ieee80211_proberesp_get
wl12xx: Unknown symbol ieee80211_proberesp_get (err -22)
wl12xx: disagrees about version of symbol ieee80211_rx
wl12xx: Unknown symbol ieee80211_rx (err -22)
wl12xx: disagrees about version of symbol ieee80211_wake_queues
wl12xx: Unknown symbol ieee80211_wake_queues (err -22)
wl12xx: disagrees about version of symbol ieee80211_report_low_ack
wl12xx: Unknown symbol ieee80211_report_low_ack (err -22)
wl12xx: disagrees about version of symbol ieee80211_iterate_active_interfaces
wl12xx: Unknown symbol ieee80211_iterate_active_interfaces (err -22)
wl12xx: disagrees about version of symbol ieee80211_free_txskb
wl12xx: Unknown symbol ieee80211_free_txskb (err -22)
wl12xx: disagrees about version of symbol ieee80211_tx_status
wl12xx: Unknown symbol ieee80211_tx_status (err -22)
wl12xx: disagrees about version of symbol ieee80211_stop_queue
wl12xx: Unknown symbol ieee80211_stop_queue (err -22)
wl12xx: disagrees about version of symbol ieee80211_stop_queues
wl12xx: Unknown symbol ieee80211_stop_queues (err -22)
wl12xx: disagrees about version of symbol ieee80211_sched_scan_results
wl12xx: Unknown symbol ieee80211_sched_scan_results (err -22)
wl12xx: disagrees about version of symbol ieee80211_scan_completed
wl12xx: Unknown symbol ieee80211_scan_completed (err -22)
wl12xx: disagrees about version of symbol ieee80211_channel_to_frequency
wl12xx: Unknown symbol ieee80211_channel_to_frequency (err -22)
wl12xx: disagrees about version of symbol ieee80211_unregister_hw
wl12xx: Unknown symbol ieee80211_unregister_hw (err -22)
wl12xx: disagrees about version of symbol ieee80211_beacon_get_tim
wl12xx: Unknown symbol ieee80211_beacon_get_tim (err -22)
wl12xx: disagrees about version of symbol ieee80211_cqm_rssi_notify
wl12xx: Unknown symbol ieee80211_cqm_rssi_notify (err -22)
wl12xx: disagrees about version of symbol cfg80211_testmode_alloc_reply_skb
wl12xx: Unknown symbol cfg80211_testmode_alloc_reply_skb (err -22)
wl12xx: disagrees about version of symbol ieee80211_queue_work
wl12xx: Unknown symbol ieee80211_queue_work (err -22)
wl12xx: disagrees about version of symbol ieee80211_sta_ps_transition
wl12xx: Unknown symbol ieee80211_sta_ps_transition (err -22)

The full "dmesg": (Please visit the site to view this file)

Do I have to change the kernel configuration?

Best Regards,

Timo


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>