Updated HTC (markdown)
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 27 Jul 2013 06:27:41 +0000 (23:27 -0700)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 27 Jul 2013 06:27:41 +0000 (23:27 -0700)
HTC.md

diff --git a/HTC.md b/HTC.md
index 5a6ea886d4fd272ee3afdf05da1609b2f39773e2..b8ffe75ea43ad94cecef0429f40b08f0a93d29c5 100644 (file)
--- a/HTC.md
+++ b/HTC.md
@@ -12,6 +12,7 @@ Responsible for:
 * Communication between host and target
 * Registering services. For example WMI, RX, TX, Beacon...
 * Routing messages to services
+* credits system.
 
 ## WMI – Wireless Module Interface Service  
 Responsible for:  
@@ -19,4 +20,15 @@ Responsible for:
 
 ## Proposal:  
 We need method to handle system exceptions and send system message for debuging.
-It should use shortest path, and have guaranteed existence btw endpoint. In this case HTC is best choice.
\ No newline at end of file
+It should use shortest path, and have guaranteed existence btw endpoint.
+On one sight HIF has shortest path, on other sight it is responsable only for PHY level.
+In this case IMO, HTC is best choice.
+
+Current htc_frame_header accept fallowing flags:  
+* HTC_FLAGS_NEED_CREDIT_UPDATE
+* HTC_FLAGS_RECV_TRAILER
+* HTC_FLAGS_CREDIT_REDISTRIBUTION
+
+I suggest to add two more:  
+* HTC_FLAGS_EXCEPTION - target firmware filed and can't continue to work... with other words, we have a bug and should fix it.
+* HTC_FLAGS_DMESG - send some debug information to the host.
\ No newline at end of file