vitasdk
Documentation of the vitasdk

Exports for Kernel. More...

Enumerations

enum  SceWlanBtConfig {
  SCE_WLANBT_CONFIG_INITIALIZE = 1 , SCE_WLANBT_CONFIG_SHUTDOWN = 2 , SCE_WLANBT_CONFIG_WLAN_ENABLE = 3 , SCE_WLANBT_CONFIG_WLAN_DISABLE = 4 ,
  SCE_WLANBT_CONFIG_BT_ENABLE = 5 , SCE_WLANBT_CONFIG_BT_DISABLE = 6 , SCE_WLANBT_CONFIG_WLAN_RELOAD_BEGIN = 7 , SCE_WLANBT_CONFIG_WLAN_RELOAD_COMPLETE = 8 ,
  SCE_WLANBT_CONFIG_BT_RELOAD_BEGIN = 10 , SCE_WLANBT_CONFIG_BT_RELOAD_COMPLETE = 11 , SCE_WLANBT_CONFIG_WLAN_RETAIN = 13 , SCE_WLANBT_CONFIG_WLAN_RELEASE = 14 ,
  SCE_WLANBT_CONFIG_BT_RETAIN = 15 , SCE_WLANBT_CONFIG_BT_RELEASE = 16 , SCE_WLANBT_CONFIG_WLAN_FORCE_OFF = 17 , SCE_WLANBT_CONFIG_BT_FORCE_OFF = 18
}
 Commands accepted by ksceWlanBtSetConfiguration. More...
 

Functions

int ksceWlanBtSetConfiguration (SceWlanBtConfig config)
 Configure the shared WLAN/Bluetooth device.
 

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceWlanBtForDriver_stub



Enumeration Type Documentation

◆ SceWlanBtConfig

Commands accepted by ksceWlanBtSetConfiguration.

Pass one command; do not combine commands with |. The WLAN and Bluetooth drivers must coordinate before and after reloading their shared Marvell Robin firmware. The retention commands select which Robin function is restored across the shared device power-state transition.

Enumerator
SCE_WLANBT_CONFIG_INITIALIZE 

Initialize the shared Robin WLAN/Bluetooth firmware.

SCE_WLANBT_CONFIG_SHUTDOWN 

Shut down the shared Robin device and clear its state.

SCE_WLANBT_CONFIG_WLAN_ENABLE 

Enable the WLAN function.

SCE_WLANBT_CONFIG_WLAN_DISABLE 

Disable the WLAN function.

SCE_WLANBT_CONFIG_BT_ENABLE 

Enable the Bluetooth function.

SCE_WLANBT_CONFIG_BT_DISABLE 

Disable the Bluetooth function.

SCE_WLANBT_CONFIG_WLAN_RELOAD_BEGIN 

Mark WLAN ready to reload the shared firmware.

SCE_WLANBT_CONFIG_WLAN_RELOAD_COMPLETE 

Mark WLAN reinitialization complete.

SCE_WLANBT_CONFIG_BT_RELOAD_BEGIN 

Mark Bluetooth ready to reload the shared firmware.

SCE_WLANBT_CONFIG_BT_RELOAD_COMPLETE 

Mark Bluetooth reinitialization complete.

SCE_WLANBT_CONFIG_WLAN_RETAIN 

Retain WLAN across a shared-device power transition.

SCE_WLANBT_CONFIG_WLAN_RELEASE 

Release WLAN before a shared-device power transition.

SCE_WLANBT_CONFIG_BT_RETAIN 

Retain Bluetooth across a shared-device power transition.

SCE_WLANBT_CONFIG_BT_RELEASE 

Release Bluetooth before a shared-device power transition.

SCE_WLANBT_CONFIG_WLAN_FORCE_OFF 

Force the shared device off on behalf of WLAN.

SCE_WLANBT_CONFIG_BT_FORCE_OFF 

Force the shared device off on behalf of Bluetooth.

Function Documentation

◆ ksceWlanBtSetConfiguration()

int ksceWlanBtSetConfiguration ( SceWlanBtConfig  config)

Configure the shared WLAN/Bluetooth device.

The WLAN and Bluetooth functions share one Marvell Robin device and firmware image. The two drivers must coordinate commands 7/10 and 8/11. On FW 3.60, unimplemented commands, including 0, 9, and 12, do nothing and return success.

Parameters
[in]config- Configuration command.
Returns
0 on success, 0x80418004 in Syscon downloader mode, 0x80418007 when a Bluetooth enable or disable command is issued while the module reports WLAN/Bluetooth unavailable, or an initialization error from commands that start the shared firmware.