This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL18xx to DM385 CBB platform porting issue

Other Parts Discussed in Thread: DM385

Hi,

I am trying to merge with DM385 CBB platform and WL18xx but I am facing many problems.

The guide that I am referred to is

http://processors.wiki.ti.com/index.php?title=WL18xx_to_DM3xx_porting_guide&keyMatch=dm385%20wifi&tisearch=Search-EN-Everything

and since it is not IPNC platform, many parts of source codes conflicts each other.

Main problem is,

net/mac80211, drivers/net/wireless/ti/wl18xx, and include/net/cfg80211.h modules conflicts so much. 

I attached error messages down below.

Any ideas?

Thanks in advance

 CC [M]  drivers/net/wireless/ti/wl18xx/main.o

In file included from drivers/net/wireless/ti/wl18xx/main.c:28:0:

drivers/net/wireless/ti/wl18xx/../wlcore/wlcore.h:98:12: warning: 'struct ieee80211_sched_scan_ies' declared inside parameter list

drivers/net/wireless/ti/wl18xx/../wlcore/wlcore.h:98:12: warning: its scope is only this definition or declaration, which is probably not what you want

drivers/net/wireless/ti/wl18xx/../wlcore/wlcore.h:98:12: warning: 'struct cfg80211_sched_scan_request' declared inside parameter list

In file included from drivers/net/wireless/ti/wl18xx/scan.h:27:0,

             from drivers/net/wireless/ti/wl18xx/main.c:43:

drivers/net/wireless/ti/wl18xx/../wlcore/scan.h:40:17: warning: 'struct ieee80211_sched_scan_ies' declared inside parameter list

drivers/net/wireless/ti/wl18xx/../wlcore/scan.h:40:17: warning: 'struct cfg80211_sched_scan_request' declared inside parameter list

drivers/net/wireless/ti/wl18xx/../wlcore/scan.h:176:13: warning: 'struct cfg80211_sched_scan_request' declared inside parameter list

In file included from drivers/net/wireless/ti/wl18xx/main.c:43:0:

drivers/net/wireless/ti/wl18xx/scan.h:125:15: warning: 'struct ieee80211_sched_scan_ies' declared inside parameter list

drivers/net/wireless/ti/wl18xx/scan.h:125:15: warning: 'struct cfg80211_sched_scan_request' declared inside parameter list

drivers/net/wireless/ti/wl18xx/main.c:359:20: error: 'WLAN_EID_HT_OPERATION' undeclared here (not in a function)

drivers/net/wireless/ti/wl18xx/main.c: In function 'wl18xx_get_mac':

drivers/net/wireless/ti/wl18xx/main.c:1460:3: error: implicit declaration of function 'eth_random_addr'

drivers/net/wireless/ti/wl18xx/main.c: In function 'wl18xx_sta_rc_update':

drivers/net/wireless/ti/wl18xx/main.c:1578:17: error: 'struct ieee80211_sta' has no member named 'bandwidth'

drivers/net/wireless/ti/wl18xx/main.c:1578:32: error: 'IEEE80211_STA_RX_BW_40' undeclared (first use in this function)

drivers/net/wireless/ti/wl18xx/main.c:1578:32: note: each undeclared identifier is reported only once for each function it appears in

drivers/net/wireless/ti/wl18xx/main.c:1582:18: error: 'IEEE80211_RC_BW_CHANGED' undeclared (first use in this function)

drivers/net/wireless/ti/wl18xx/main.c: At top level:

drivers/net/wireless/ti/wl18xx/main.c:1693:2: warning: initialization from incompatible pointer type

drivers/net/wireless/ti/wl18xx/main.c:1771:43: error: array type has incomplete element type

drivers/net/wireless/ti/wl18xx/main.c:1773:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1773:3: error: (near initialization for 'wl18xx_iface_limits')

drivers/net/wireless/ti/wl18xx/main.c:1774:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1774:3: error: (near initialization for 'wl18xx_iface_limits')

drivers/net/wireless/ti/wl18xx/main.c:1777:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1777:3: error: (near initialization for 'wl18xx_iface_limits')

drivers/net/wireless/ti/wl18xx/main.c:1778:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1778:3: error: (near initialization for 'wl18xx_iface_limits')

drivers/net/wireless/ti/wl18xx/main.c:1784:43: error: array type has incomplete element type

drivers/net/wireless/ti/wl18xx/main.c:1786:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1786:3: error: (near initialization for 'wl18xx_iface_ap_limits')

drivers/net/wireless/ti/wl18xx/main.c:1787:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1787:3: error: (near initialization for 'wl18xx_iface_ap_limits')

drivers/net/wireless/ti/wl18xx/main.c:1792:1: error: array type has incomplete element type

drivers/net/wireless/ti/wl18xx/main.c:1794:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1794:3: error: (near initialization for 'wl18xx_iface_combinations')

drivers/net/wireless/ti/wl18xx/main.c:1795:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1795:3: error: (near initialization for 'wl18xx_iface_combinations')

drivers/net/wireless/ti/wl18xx/main.c:1796:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1796:3: error: (near initialization for 'wl18xx_iface_combinations')

drivers/net/wireless/ti/wl18xx/main.c:1796:15: warning: type defaults to 'int' in type name

drivers/net/wireless/ti/wl18xx/main.c:1796:15: warning: type defaults to 'int' in type name

drivers/net/wireless/ti/wl18xx/main.c:1796:15: error: negative width in bit-field '<anonymous>'

drivers/net/wireless/ti/wl18xx/main.c:1797:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1797:3: error: (near initialization for 'wl18xx_iface_combinations')

drivers/net/wireless/ti/wl18xx/main.c:1798:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1798:3: error: (near initialization for 'wl18xx_iface_combinations')

drivers/net/wireless/ti/wl18xx/main.c:1804:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1804:3: error: (near initialization for 'wl18xx_iface_combinations')

drivers/net/wireless/ti/wl18xx/main.c:1805:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1805:3: error: (near initialization for 'wl18xx_iface_combinations')

drivers/net/wireless/ti/wl18xx/main.c:1806:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1806:3: error: (near initialization for 'wl18xx_iface_combinations')

drivers/net/wireless/ti/wl18xx/main.c:1806:15: warning: type defaults to 'int' in type name

drivers/net/wireless/ti/wl18xx/main.c:1806:15: warning: type defaults to 'int' in type name

drivers/net/wireless/ti/wl18xx/main.c:1806:15: error: negative width in bit-field '<anonymous>'

drivers/net/wireless/ti/wl18xx/main.c:1807:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1807:3: error: (near initialization for 'wl18xx_iface_combinations')

drivers/net/wireless/ti/wl18xx/main.c:1808:3: error: field name not in record or union initializer

drivers/net/wireless/ti/wl18xx/main.c:1808:3: error: (near initialization for 'wl18xx_iface_combinations')

drivers/net/wireless/ti/wl18xx/main.c: In function 'wl18xx_setup':

drivers/net/wireless/ti/wl18xx/main.c:1830:29: warning: type defaults to 'int' in type name

drivers/net/wireless/ti/wl18xx/main.c:1830:29: warning: type defaults to 'int' in type name

drivers/net/wireless/ti/wl18xx/main.c:1830:29: error: negative width in bit-field '<anonymous>'

drivers/net/wireless/ti/wl18xx/main.c: At top level:

drivers/net/wireless/ti/wl18xx/main.c:1998:1: warning: data definition has no type or storage class

drivers/net/wireless/ti/wl18xx/main.c:1998:1: warning: type defaults to 'int' in declaration of 'module_platform_driver'

drivers/net/wireless/ti/wl18xx/main.c:1998:1: warning: parameter names (without types) in function declaration

drivers/net/wireless/ti/wl18xx/main.c:1771:43: warning: 'wl18xx_iface_limits' defined but not used

drivers/net/wireless/ti/wl18xx/main.c:1784:43: warning: 'wl18xx_iface_ap_limits' defined but not used

drivers/net/wireless/ti/wl18xx/main.c:1792:1: warning: 'wl18xx_iface_combinations' defined but not used

drivers/net/wireless/ti/wl18xx/main.c:1988:31: warning: 'wl18xx_driver' defined but not used

make[8]: *** [drivers/net/wireless/ti/wl18xx/main.o] 오류 1

make[7]: *** [drivers/net/wireless/ti/wl18xx] 오류 2

make[6]: *** [drivers/net/wireless/ti] 오류 2

make[5]: *** [drivers/net/wireless] 오류 2

make[4]: *** [drivers/net] 오류 2

make[3]: *** [drivers] 오류 2

make[3]: Leaving directory `/opt/carbb-rdk/src/ti_tools/cbb_psp_04_04_00_02/kernel'

make[2]: *** [lspbuild] 오류 2

make[2]: Leaving directory `/opt/carbb-rdk/src/cbb_rdk'

make[1]: *** [lsp] 오류 2

make[1]: Leaving directory `/opt/carbb-rdk/src/cbb_rdk'

make: *** [lspall] 오류 2