Clarify write_immediate_assignment() signature

* remove unused variable
* use bool for boolean types
* add clarification comments

Change-Id: I363445063e2d873d9194b2a5924b9e59b8b7ea53
diff --git a/src/encoding.h b/src/encoding.h
index 54cb057..2309dc3 100644
--- a/src/encoding.h
+++ b/src/encoding.h
@@ -43,14 +43,12 @@
 public:
 	static int write_immediate_assignment(
 			struct gprs_rlcmac_tbf *tbf,
-			bitvec * dest, uint8_t downlink, uint16_t ra,
+			bitvec * dest, bool downlink, uint16_t ra,
 			uint32_t ref_fn, uint8_t ta, uint16_t arfcn, uint8_t ts,
-			uint8_t tsc, uint8_t usf, uint8_t polling,
+			uint8_t tsc, uint8_t usf, bool polling,
 			uint32_t fn, uint8_t alpha, uint8_t gamma,
 			int8_t ta_idx,
-			enum ph_burst_type burst_type =
-				GSM_L1_BURST_TYPE_ACCESS_0,
-			uint8_t sb = 1);
+			enum ph_burst_type burst_type);
 
 	static int write_immediate_assignment_reject(
 			bitvec *dest, uint16_t ra,