Skip to contentSkip to conversation

coex: Adding documetation for coex interface

PATCH In review Antara Borwankar 2 participants 2 messages Nov 30, 2018 – Dec 2, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 coex: Adding documetation for coex interface

From: Antara <[email protected]>

Added coex-api.txt which defines coex interface for intel modems

---
 doc/coex-api.txt | 126 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 126 insertions(+)
 create mode 100644 doc/coex-api.txt
doc/coex-api.txt new file +126 -0
new file mode 100644
index 0000000..8f5da47
@@ -0,0 +1,126 @@
+LTE Coexistence hierarchy
+===============
+
+Service		org.ofono
+Interface	org.ofono.org.ofono.intel.LteCoexistence
+Object path	[variable prefix]/{modem0,modem1,...}
+
+Methods		dict GetProperties()
+			Returns all coexistence configuration properties.
+
+			void SetProperty(string property, variant value)
+			Changes the value of the specified property. Only properties that
+			are listed as Read-write are changeable.
+			On success a PropertyChanged signal will be emitted.
+
+			Possible Errors: [service].Error.InProgress
+						[service].Error.InvalidArguments
+						[service].Error.Failed
+
+
+		void RegisterAgent(object path)
+
+			Registers an agent which will be called whenever the
+			modem initiates LTE Coexistence information.
+
+			Possible Errors: [service].Error.InProgress
+					 [service].Error.InvalidArguments
+					 [service].Error.InvalidFormat
+					 [service].Error.Failed
+
+		void UnregisterAgent(object path)
+
+			Unregisters an agent.
+
+			Possible Errors: [service].Error.InvalidArguments
+					 [service].Error.Failed
+
+		a(a{sv}) GetPlmnHistory()
+			Requests for LTE Plmn history list stored in NVM to
+			retrieve geo location history like MobileNetworkCode,
+			MobileCountryCode, LteBandsFDD, LteBandsTDD, ChannelBandwidth.
+
+			Refer to the sections below for which property types
+			are available, their valid value ranges and
+			applicability to different cell types.
+
+Signals		PropertyChanged(string property, variant value)
+			This signal indicates a changed value of the given property.
+
+
+LTECoexistenceAgent Hierarchy [experimental]
+===============
+
+Service		unique name
+Interface	org.ofono.intel.LteCoexistenceAgent 
+Object path	freely definable
+
+Methods		void ReceiveBluetoothNotification
+							(array{byte} notification, dict info) [noreply]
+
+			Requests the agent to process BT related LTE Coexistence
+			information. The dictionary info contains vector table with modem
+			recommended Safe Tx/Rx band and range information.The properties
+			involved are 'SafeTxMin', 'SafeRxMin', 'SafeTxMax', 'SafeRxMax' and
+			'SafeVector'.
+
+			Possible Errors: None
+
+		void ReceiveWiFiNotification
+							(array{byte} notification, dict info) [noreply]
+
+			Requests the agent to process WiFi related LTE Coexistence
+			information. The dictionary info contains vector table with modem
+			recommended SafeTx/Rx band and range information. The properties
+			involved are'SafeTxMin', 'SafeRxMin', 'SafeTxMax', 'SafeRxMax' and
+			'SafeVector'.
+
+			Possible Errors: None
+
+		void Release() [noreply]
+
+			Agent is being released, possibly because of oFono
+			terminating, Coex interface is being torn down or modem
+			off. No UnregisterAgent call is needed.
+
+
+Properties	string Band [readwrite]
+			Frequency band in which the modem is operating when using "lte"
+			mode.
+
+			boolean BTActive [readwrite]
+			Maintains whether BT Coex is activated or not.
+
+			boolean WLANActive [readwrite]
+			Maintains whether WLAN Coex is activated or not.
+
+			string WLANBandwidth [readwrite]
+			Maintains at what frequency WLAN Coex is activated, when
+			"CoexWLANActive"
+			is active.
+			The possible values are:
+			- "20MHz"
+			- "40MHz"
+			- "80MHz"
+
+LTE Plmn history params
+=================================
+string
+	uint16 MobileNetworkCode [readonly, optional]
+		Contains the MNC of the cell.
+
+string
+	uint16 MobileCountryCode [readonly, optional]
+		Contains the MCC of the cell.
+
+	uint32 LteBandsFDD [readonly, optional]
+		Contains the Lte FDD band. Valid range
+		of values is 1 to 32 as per 3GPP 36.101 Section 5.5.
+
+	uint32 LteBandsTDD [readonly, optional]
+		Contains the Lte TDD band. Valid range
+		of values is 33 to 64 as per 3GPP 36.101 Section 5.5.
+
+	uint8 ChannelBandwidth [readonly, optional]
+		Contains the Channel bandwidth. Valid range
+		of values is 0 to 6 as per 3GPP 36.101 Section 5.6.
Signature · 1 line
1.9.1
#1 lore raw

Hi Antara,

Quoted 14 lines · Antara Borwankar

From: Antara <[email protected]>

Added coex-api.txt which defines coex interface for intel modems

---
 doc/coex-api.txt | 126
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 126 insertions(+)
 create mode 100644 doc/coex-api.txt
doc/coex-api.txt new file mode 100644 index renamed from doc/coex-api.txt +0 -0

0000000..8f5da47

doc/coex-api.txt line 5

Quoted 5 lines
doc/coex-api.txt new file +5 -0
@@ -0,0 +1,126 @@
+LTE Coexistence hierarchy
+===============
+
+Service		org.ofono
+Interface	org.ofono.org.ofono.intel.LteCoexistence

May be typo here. Interface should be org.ofono.intel.LteCoexistence

Regards, Ankit

Quoted 144 lines
doc/coex-api.txt new file +7 -0
+Object path	[variable prefix]/{modem0,modem1,...}
+
+Methods		dict GetProperties()
+			Returns all coexistence configuration properties.
+
+			void SetProperty(string property, variant value)
+			Changes the value of the specified property. Only

properties that

doc/coex-api.txt new file +5 -0
+			are listed as Read-write are changeable.
+			On success a PropertyChanged signal will be emitted.
+
+			Possible Errors: [service].Error.InProgress
+

[service].Error.InvalidArguments

doc/coex-api.txt new file +24 -0
+						[service].Error.Failed
+
+
+		void RegisterAgent(object path)
+
+			Registers an agent which will be called whenever the
+			modem initiates LTE Coexistence information.
+
+			Possible Errors: [service].Error.InProgress
+					 [service].Error.InvalidArguments
+					 [service].Error.InvalidFormat
+					 [service].Error.Failed
+
+		void UnregisterAgent(object path)
+
+			Unregisters an agent.
+
+			Possible Errors: [service].Error.InvalidArguments
+					 [service].Error.Failed
+
+		a(a{sv}) GetPlmnHistory()
+			Requests for LTE Plmn history list stored in NVM to
+			retrieve geo location history like MobileNetworkCode,
+			MobileCountryCode, LteBandsFDD, LteBandsTDD,

ChannelBandwidth.

doc/coex-api.txt new file +7 -0
+
+			Refer to the sections below for which property types
+			are available, their valid value ranges and
+			applicability to different cell types.
+
+Signals		PropertyChanged(string property, variant value)
+			This signal indicates a changed value of the given

property.

doc/coex-api.txt new file +10 -0
+
+
+LTECoexistenceAgent Hierarchy [experimental] ===============
+
+Service		unique name
+Interface	org.ofono.intel.LteCoexistenceAgent
+Object path	freely definable
+
+Methods		void ReceiveBluetoothNotification
+							(array{byte}

notification, dict info) [noreply]

doc/coex-api.txt new file +2 -0
+
+			Requests the agent to process BT related LTE

Coexistence

doc/coex-api.txt new file +1 -0
+			information. The dictionary info contains vector table

with modem

doc/coex-api.txt new file +1 -0
+			recommended Safe Tx/Rx band and range

information.The properties

doc/coex-api.txt new file +1 -0
+			involved are 'SafeTxMin', 'SafeRxMin', 'SafeTxMax',

'SafeRxMax' and

doc/coex-api.txt new file +6 -0
+			'SafeVector'.
+
+			Possible Errors: None
+
+		void ReceiveWiFiNotification
+							(array{byte}

notification, dict info) [noreply]

doc/coex-api.txt new file +2 -0
+
+			Requests the agent to process WiFi related LTE

Coexistence

doc/coex-api.txt new file +1 -0
+			information. The dictionary info contains vector table

with modem

doc/coex-api.txt new file +1 -0
+			recommended SafeTx/Rx band and range information.

The properties

doc/coex-api.txt new file +1 -0
+			involved are'SafeTxMin', 'SafeRxMin', 'SafeTxMax',

'SafeRxMax' and

doc/coex-api.txt new file +8 -0
+			'SafeVector'.
+
+			Possible Errors: None
+
+		void Release() [noreply]
+
+			Agent is being released, possibly because of oFono
+			terminating, Coex interface is being torn down or

modem

doc/coex-api.txt new file +5 -0
+			off. No UnregisterAgent call is needed.
+
+
+Properties	string Band [readwrite]
+			Frequency band in which the modem is operating when

using "lte"

doc/coex-api.txt new file +10 -0
+			mode.
+
+			boolean BTActive [readwrite]
+			Maintains whether BT Coex is activated or not.
+
+			boolean WLANActive [readwrite]
+			Maintains whether WLAN Coex is activated or not.
+
+			string WLANBandwidth [readwrite]
+			Maintains at what frequency WLAN Coex is activated,

when

doc/coex-api.txt new file +28 -1
+			"CoexWLANActive"
+			is active.
+			The possible values are:
+			- "20MHz"
+			- "40MHz"
+			- "80MHz"
+
+LTE Plmn history params
+=================================
+string
+	uint16 MobileNetworkCode [readonly, optional]
+		Contains the MNC of the cell.
+
+string
+	uint16 MobileCountryCode [readonly, optional]
+		Contains the MCC of the cell.
+
+	uint32 LteBandsFDD [readonly, optional]
+		Contains the Lte FDD band. Valid range
+		of values is 1 to 32 as per 3GPP 36.101 Section 5.5.
+
+	uint32 LteBandsTDD [readonly, optional]
+		Contains the Lte TDD band. Valid range
+		of values is 33 to 64 as per 3GPP 36.101 Section 5.5.
+
+	uint8 ChannelBandwidth [readonly, optional]
+		Contains the Channel bandwidth. Valid range
+		of values is 0 to 6 as per 3GPP 36.101 Section 5.6.
--

1.9.1

_______________________________________________
ofono mailing list
ofono(a)ofono.org
https://lists.ofono.org/mailman/listinfo/ofono