MCS: add mcs_is_*() helpers

In preparation for Channel Coding Command encoder in follow-up patches
let's add necessary helpers. Those are similar to previously used
helpers from GprsCodingScheme class but without CamelCase and with less
typo chances between Gprs and Egprs cases.

Change-Id: I6699cbc8d7ae766fa4d2b3d37e5f9ff1cf158b7e
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index c276b3a..13ef143 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -363,7 +363,7 @@
 
 	if (previous_bsn >= 0) {
 		force_cs = m_rlc.block(previous_bsn)->cs_current_trans;
-		if (!force_cs.isEgprs())
+		if (!mcs_is_edge(force_cs))
 			return -1;
 		force_data_len = m_rlc.block(previous_bsn)->len;
 	}
@@ -765,7 +765,7 @@
 			m_rlc.block(bsn)->next_ps,
 			m_rlc.block(bsn)->cs_last, cs, spb);
 
-		if (cs.isEgprs()) {
+		if (mcs_is_edge(cs)) {
 			OSMO_ASSERT(m_rlc.block(bsn)->next_ps >= EGPRS_PS_1);
 			OSMO_ASSERT(m_rlc.block(bsn)->next_ps <= EGPRS_PS_3);
 		}
@@ -812,7 +812,7 @@
 	}
 
 	/* Calculate CPS only for EGPRS case */
-	if (cs.isEgprs())
+	if (mcs_is_edge(cs))
 		rlc.cps = gprs_rlc_mcs_cps(cs, punct[0], punct[1], need_padding);
 
 	/* If the TBF has just started, relate frames_since_last_poll to the
@@ -1369,7 +1369,7 @@
 	uint8_t coding_scheme = 0;
 
 	coding_scheme = CodingScheme(cs);
-	if (cs.isGprs()) {
+	if (mcs_is_gprs(cs)) {
 		switch (coding_scheme) {
 		case CS1 :
 			bts->gprs_dl_cs1();